{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Dependency Parsing"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<div class=\"alert alert-info\">\n",
    "\n",
    "This tutorial is available as an IPython notebook at [Malaya/example/dependency](https://github.com/huseinzol05/Malaya/tree/master/example/dependency).\n",
    "    \n",
    "</div>"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<div class=\"alert alert-warning\">\n",
    "\n",
    "This module only trained on standard language structure, so it is not save to use it for local language structure.\n",
    "    \n",
    "</div>"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import os\n",
    "\n",
    "os.environ['CUDA_VISIBLE_DEVICES'] = ''"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/home/husein/.local/lib/python3.8/site-packages/bitsandbytes/cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.\n",
      "  warn(\"The installed version of bitsandbytes was compiled without GPU support. \"\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "/home/husein/.local/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cpu.so: undefined symbol: cadam32bit_grad_fp32\n",
      "CPU times: user 2.85 s, sys: 3.65 s, total: 6.5 s\n",
      "Wall time: 2.11 s\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/home/husein/dev/malaya/malaya/tokenizer.py:214: FutureWarning: Possible nested set at position 3397\n",
      "  self.tok = re.compile(r'({})'.format('|'.join(pipeline)))\n",
      "/home/husein/dev/malaya/malaya/tokenizer.py:214: FutureWarning: Possible nested set at position 3927\n",
      "  self.tok = re.compile(r'({})'.format('|'.join(pipeline)))\n"
     ]
    }
   ],
   "source": [
    "%%time\n",
    "import malaya"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Describe supported dependencies"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[{'Tag': 'acl', 'Description': 'clausal modifier of noun'},\n",
       " {'Tag': 'advcl', 'Description': 'adverbial clause modifier'},\n",
       " {'Tag': 'advmod', 'Description': 'adverbial modifier'},\n",
       " {'Tag': 'amod', 'Description': 'adjectival modifier'},\n",
       " {'Tag': 'appos', 'Description': 'appositional modifier'},\n",
       " {'Tag': 'aux', 'Description': 'auxiliary'},\n",
       " {'Tag': 'case', 'Description': 'case marking'},\n",
       " {'Tag': 'ccomp', 'Description': 'clausal complement'},\n",
       " {'Tag': 'compound', 'Description': 'compound'},\n",
       " {'Tag': 'compound:plur', 'Description': 'plural compound'},\n",
       " {'Tag': 'conj', 'Description': 'conjunct'},\n",
       " {'Tag': 'cop', 'Description': 'cop'},\n",
       " {'Tag': 'csubj', 'Description': 'clausal subject'},\n",
       " {'Tag': 'dep', 'Description': 'dependent'},\n",
       " {'Tag': 'det', 'Description': 'determiner'},\n",
       " {'Tag': 'fixed', 'Description': 'multi-word expression'},\n",
       " {'Tag': 'flat', 'Description': 'name'},\n",
       " {'Tag': 'iobj', 'Description': 'indirect object'},\n",
       " {'Tag': 'mark', 'Description': 'marker'},\n",
       " {'Tag': 'nmod', 'Description': 'nominal modifier'},\n",
       " {'Tag': 'nsubj', 'Description': 'nominal subject'},\n",
       " {'Tag': 'obj', 'Description': 'direct object'},\n",
       " {'Tag': 'parataxis', 'Description': 'parataxis'},\n",
       " {'Tag': 'root', 'Description': 'root'},\n",
       " {'Tag': 'xcomp', 'Description': 'open clausal complement'}]"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "malaya.dependency.describe"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### List available HuggingFace Dependency models"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'mesolitica/finetune-dependency-t5-tiny-standard-bahasa-cased': {'Size (MB)': 143,\n",
       "  'Arc Accuracy': 0.8506069089930276,\n",
       "  'Types Accuracy': 0.7831641780774206,\n",
       "  'Root Accuracy': 0.8723021582733813},\n",
       " 'mesolitica/finetune-dependency-t5-small-standard-bahasa-cased': {'Size (MB)': 247,\n",
       "  'Arc Accuracy': 0.8494045261191319,\n",
       "  'Types Accuracy': 0.783103051811978,\n",
       "  'Root Accuracy': 0.8669064748201439},\n",
       " 'mesolitica/finetune-dependency-t5-base-standard-bahasa-cased': {'Size (MB)': 898,\n",
       "  'Arc Accuracy': 0.8528921010932324,\n",
       "  'Types Accuracy': 0.7840908663367674,\n",
       "  'Root Accuracy': 0.8597122302158273}}"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "malaya.dependency.available_huggingface"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Load HuggingFace dependency model\n",
    "\n",
    "```python\n",
    "def huggingface(\n",
    "    model: str = 'mesolitica/finetune-dependency-t5-small-standard-bahasa-cased',\n",
    "    force_check: bool = True,\n",
    "    **kwargs,\n",
    "):\n",
    "    \"\"\"\n",
    "    Load HuggingFace model to dependency parsing.\n",
    "\n",
    "    Parameters\n",
    "    ----------\n",
    "    model: str, optional (default='mesolitica/finetune-dependency-t5-small-standard-bahasa-cased')\n",
    "        Check available models at `malaya.dependency.available_huggingface()`.\n",
    "    force_check: bool, optional (default=True)\n",
    "        Force check model one of malaya model.\n",
    "        Set to False if you have your own huggingface model.\n",
    "\n",
    "    Returns\n",
    "    -------\n",
    "    result: malaya.torch_model.huggingface.Dependency\n",
    "    \"\"\"\n",
    "```"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "`malaya.dependency.huggingface` trained on indonesian dataset and augmented dataset, not an actual malay dataset.\n"
     ]
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "2f73ad53f0904716b53215a1e63b126c",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Downloading (…)okenizer_config.json:   0%|          | 0.00/2.54k [00:00<?, ?B/s]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "e68e2e2fbce3408e957f59305adbcc86",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Downloading spiece.model:   0%|          | 0.00/803k [00:00<?, ?B/s]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "9eb10ef80679482d861769b174df97ce",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Downloading (…)cial_tokens_map.json:   0%|          | 0.00/2.20k [00:00<?, ?B/s]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "Loading the tokenizer from the `special_tokens_map.json` and the `added_tokens.json` will be removed in `transformers 5`,  it is kept for forward compatibility, but it is recommended to update your `tokenizer_config.json` by uploading it again. You will see the new `added_tokens_decoder` attribute that will store the relevant information.\n",
      "You are using the default legacy behaviour of the <class 'transformers.models.t5.tokenization_t5.T5Tokenizer'>. If you see this, DO NOT PANIC! This is expected, and simply means that the `legacy` (previous) behavior will be used so nothing changes for you. If you want to use the new behaviour, set `legacy=False`. This should only be set if you understand what it means, and thouroughly read the reason why this was added as explained in https://github.com/huggingface/transformers/pull/24565\n"
     ]
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "50bb09e167734f92b1282577217cdca1",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Downloading (…)lve/main/config.json:   0%|          | 0.00/2.19k [00:00<?, ?B/s]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "875796f175c549e29ef620a10df04dbe",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Downloading pytorch_model.bin:   0%|          | 0.00/247M [00:00<?, ?B/s]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "model = malaya.dependency.huggingface()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Predict\n",
    "\n",
    "```python\n",
    "def predict(\n",
    "    self,\n",
    "    string: str,\n",
    "    validate_tree: bool = False,\n",
    "    f_tree: Callable = eisner,\n",
    "):\n",
    "    \"\"\"\n",
    "    Tag a string. We assumed the string input been properly tokenized.\n",
    "\n",
    "    Parameters\n",
    "    ----------\n",
    "    string: str\n",
    "    validate_tree: bool, optional (default=False)\n",
    "        validate arcs is a valid tree using `malaya.parser.conll.CoNLL.istree`.\n",
    "        Originally from https://github.com/Unipisa/diaparser\n",
    "    f_tree: Callable, optional (default=malaya.parser.alg.eisner)\n",
    "        if arcs is not a tree, use approximate function to fix arcs.\n",
    "        Originally from https://github.com/Unipisa/diaparser\n",
    "\n",
    "    Returns\n",
    "    -------\n",
    "    result: Tuple\n",
    "    \"\"\"\n",
    "```"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "string = 'Dr Mahathir menasihati mereka supaya berhenti berehat dan tidur sebentar sekiranya mengantuk ketika memandu.'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "You're using a T5TokenizerFast tokenizer. Please note that with a fast tokenizer, using the `__call__` method is faster than using a method to encode the text followed by a call to the `pad` method to get a padded encoding.\n",
      "huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...\n",
      "To disable this warning, you can either:\n",
      "\t- Avoid using `tokenizers` before the fork if possible\n",
      "\t- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)\n"
     ]
    },
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<!-- Generated by graphviz version 2.43.0 (0)\n",
       " -->\n",
       "<!-- Title: G Pages: 1 -->\n",
       "<svg width=\"618pt\" height=\"653pt\"\n",
       " viewBox=\"0.00 0.00 618.00 653.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
       "<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 649)\">\n",
       "<title>G</title>\n",
       "<polygon fill=\"white\" stroke=\"transparent\" points=\"-4,4 -4,-649 614,-649 614,4 -4,4\"/>\n",
       "<!-- 0 -->\n",
       "<g id=\"node1\" class=\"node\">\n",
       "<title>0</title>\n",
       "<text text-anchor=\"middle\" x=\"148.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">0 (None)</text>\n",
       "</g>\n",
       "<!-- 3 -->\n",
       "<g id=\"node2\" class=\"node\">\n",
       "<title>3</title>\n",
       "<text text-anchor=\"middle\" x=\"148.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">3 (menasihati)</text>\n",
       "</g>\n",
       "<!-- 0&#45;&gt;3 -->\n",
       "<g id=\"edge1\" class=\"edge\">\n",
       "<title>0&#45;&gt;3</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M148.5,-608.8C148.5,-597.16 148.5,-581.55 148.5,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"152,-568.18 148.5,-558.18 145,-568.18 152,-568.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"163.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">root</text>\n",
       "</g>\n",
       "<!-- 1 -->\n",
       "<g id=\"node3\" class=\"node\">\n",
       "<title>1</title>\n",
       "<text text-anchor=\"middle\" x=\"53.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">1 (Dr)</text>\n",
       "</g>\n",
       "<!-- 3&#45;&gt;1 -->\n",
       "<g id=\"edge3\" class=\"edge\">\n",
       "<title>3&#45;&gt;1</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M126.2,-521.99C119.13,-516.41 111.38,-510.08 104.5,-504 95.39,-495.95 85.79,-486.74 77.4,-478.43\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"79.63,-475.71 70.08,-471.12 74.68,-480.66 79.63,-475.71\"/>\n",
       "<text text-anchor=\"middle\" x=\"124.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 4 -->\n",
       "<g id=\"node5\" class=\"node\">\n",
       "<title>4</title>\n",
       "<text text-anchor=\"middle\" x=\"148.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">4 (mereka)</text>\n",
       "</g>\n",
       "<!-- 3&#45;&gt;4 -->\n",
       "<g id=\"edge4\" class=\"edge\">\n",
       "<title>3&#45;&gt;4</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M148.5,-521.8C148.5,-510.16 148.5,-494.55 148.5,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"152,-481.18 148.5,-471.18 145,-481.18 152,-481.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"159.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 6 -->\n",
       "<g id=\"node6\" class=\"node\">\n",
       "<title>6</title>\n",
       "<text text-anchor=\"middle\" x=\"264.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">6 (berhenti)</text>\n",
       "</g>\n",
       "<!-- 3&#45;&gt;6 -->\n",
       "<g id=\"edge5\" class=\"edge\">\n",
       "<title>3&#45;&gt;6</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M171.97,-521.8C189.51,-508.95 213.65,-491.26 232.88,-477.17\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"235.06,-479.91 241.06,-471.18 230.93,-474.26 235.06,-479.91\"/>\n",
       "<text text-anchor=\"middle\" x=\"228.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">conj</text>\n",
       "</g>\n",
       "<!-- 2 -->\n",
       "<g id=\"node4\" class=\"node\">\n",
       "<title>2</title>\n",
       "<text text-anchor=\"middle\" x=\"53.5\" y=\"-362.3\" font-family=\"Times,serif\" font-size=\"14.00\">2 (Mahathir)</text>\n",
       "</g>\n",
       "<!-- 1&#45;&gt;2 -->\n",
       "<g id=\"edge2\" class=\"edge\">\n",
       "<title>1&#45;&gt;2</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M53.5,-434.8C53.5,-423.16 53.5,-407.55 53.5,-394.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"57,-394.18 53.5,-384.18 50,-394.18 57,-394.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"65.5\" y=\"-405.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 5 -->\n",
       "<g id=\"node7\" class=\"node\">\n",
       "<title>5</title>\n",
       "<text text-anchor=\"middle\" x=\"197.5\" y=\"-362.3\" font-family=\"Times,serif\" font-size=\"14.00\">5 (supaya)</text>\n",
       "</g>\n",
       "<!-- 6&#45;&gt;5 -->\n",
       "<g id=\"edge6\" class=\"edge\">\n",
       "<title>6&#45;&gt;5</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M250.94,-434.8C241.32,-422.59 228.23,-405.99 217.42,-392.28\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"219.98,-389.86 211.04,-384.18 214.48,-394.2 219.98,-389.86\"/>\n",
       "<text text-anchor=\"middle\" x=\"243.5\" y=\"-405.8\" font-family=\"Times,serif\" font-size=\"14.00\">cc</text>\n",
       "</g>\n",
       "<!-- 7 -->\n",
       "<g id=\"node8\" class=\"node\">\n",
       "<title>7</title>\n",
       "<text text-anchor=\"middle\" x=\"309.5\" y=\"-362.3\" font-family=\"Times,serif\" font-size=\"14.00\">7 (berehat)</text>\n",
       "</g>\n",
       "<!-- 6&#45;&gt;7 -->\n",
       "<g id=\"edge7\" class=\"edge\">\n",
       "<title>6&#45;&gt;7</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M273.61,-434.8C279.95,-422.82 288.53,-406.62 295.71,-393.06\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"298.82,-394.65 300.41,-384.18 292.63,-391.38 298.82,-394.65\"/>\n",
       "<text text-anchor=\"middle\" x=\"314\" y=\"-405.8\" font-family=\"Times,serif\" font-size=\"14.00\">xcomp</text>\n",
       "</g>\n",
       "<!-- 9 -->\n",
       "<g id=\"node9\" class=\"node\">\n",
       "<title>9</title>\n",
       "<text text-anchor=\"middle\" x=\"309.5\" y=\"-275.3\" font-family=\"Times,serif\" font-size=\"14.00\">9 (tidur)</text>\n",
       "</g>\n",
       "<!-- 7&#45;&gt;9 -->\n",
       "<g id=\"edge8\" class=\"edge\">\n",
       "<title>7&#45;&gt;9</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M309.5,-347.8C309.5,-336.16 309.5,-320.55 309.5,-307.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"313,-307.18 309.5,-297.18 306,-307.18 313,-307.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"324.5\" y=\"-318.8\" font-family=\"Times,serif\" font-size=\"14.00\">conj</text>\n",
       "</g>\n",
       "<!-- 8 -->\n",
       "<g id=\"node10\" class=\"node\">\n",
       "<title>8</title>\n",
       "<text text-anchor=\"middle\" x=\"290.5\" y=\"-188.3\" font-family=\"Times,serif\" font-size=\"14.00\">8 (dan)</text>\n",
       "</g>\n",
       "<!-- 9&#45;&gt;8 -->\n",
       "<g id=\"edge9\" class=\"edge\">\n",
       "<title>9&#45;&gt;8</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M305.66,-260.8C303.05,-249.16 299.56,-233.55 296.59,-220.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"299.94,-219.17 294.34,-210.18 293.11,-220.7 299.94,-219.17\"/>\n",
       "<text text-anchor=\"middle\" x=\"309.5\" y=\"-231.8\" font-family=\"Times,serif\" font-size=\"14.00\">cc</text>\n",
       "</g>\n",
       "<!-- 12 -->\n",
       "<g id=\"node11\" class=\"node\">\n",
       "<title>12</title>\n",
       "<text text-anchor=\"middle\" x=\"407.5\" y=\"-188.3\" font-family=\"Times,serif\" font-size=\"14.00\">12 (mengantuk)</text>\n",
       "</g>\n",
       "<!-- 9&#45;&gt;12 -->\n",
       "<g id=\"edge10\" class=\"edge\">\n",
       "<title>9&#45;&gt;12</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M329.33,-260.8C343.94,-248.13 364,-230.73 380.13,-216.74\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"382.44,-219.37 387.7,-210.18 377.85,-214.08 382.44,-219.37\"/>\n",
       "<text text-anchor=\"middle\" x=\"388\" y=\"-231.8\" font-family=\"Times,serif\" font-size=\"14.00\">xcomp</text>\n",
       "</g>\n",
       "<!-- 10 -->\n",
       "<g id=\"node12\" class=\"node\">\n",
       "<title>10</title>\n",
       "<text text-anchor=\"middle\" x=\"273.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">10 (sebentar)</text>\n",
       "</g>\n",
       "<!-- 12&#45;&gt;10 -->\n",
       "<g id=\"edge11\" class=\"edge\">\n",
       "<title>12&#45;&gt;10</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M380.38,-173.8C359.86,-160.78 331.48,-142.78 309.13,-128.6\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"310.9,-125.58 300.58,-123.18 307.15,-131.49 310.9,-125.58\"/>\n",
       "<text text-anchor=\"middle\" x=\"365.5\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 11 -->\n",
       "<g id=\"node13\" class=\"node\">\n",
       "<title>11</title>\n",
       "<text text-anchor=\"middle\" x=\"407.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">11 (sekiranya)</text>\n",
       "</g>\n",
       "<!-- 12&#45;&gt;11 -->\n",
       "<g id=\"edge12\" class=\"edge\">\n",
       "<title>12&#45;&gt;11</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M407.5,-173.8C407.5,-162.16 407.5,-146.55 407.5,-133.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"411,-133.18 407.5,-123.18 404,-133.18 411,-133.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"436\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">advmod</text>\n",
       "</g>\n",
       "<!-- 14 -->\n",
       "<g id=\"node14\" class=\"node\">\n",
       "<title>14</title>\n",
       "<text text-anchor=\"middle\" x=\"547.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">14 (memandu.)</text>\n",
       "</g>\n",
       "<!-- 12&#45;&gt;14 -->\n",
       "<g id=\"edge13\" class=\"edge\">\n",
       "<title>12&#45;&gt;14</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M437.75,-173.99C447.61,-168.35 458.57,-161.99 468.5,-156 482.98,-147.27 498.76,-137.36 512.38,-128.69\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"514.44,-131.52 520.98,-123.18 510.67,-125.62 514.44,-131.52\"/>\n",
       "<text text-anchor=\"middle\" x=\"511.5\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">advcl</text>\n",
       "</g>\n",
       "<!-- 13 -->\n",
       "<g id=\"node15\" class=\"node\">\n",
       "<title>13</title>\n",
       "<text text-anchor=\"middle\" x=\"547.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">13 (ketika)</text>\n",
       "</g>\n",
       "<!-- 14&#45;&gt;13 -->\n",
       "<g id=\"edge14\" class=\"edge\">\n",
       "<title>14&#45;&gt;13</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M547.5,-86.8C547.5,-75.16 547.5,-59.55 547.5,-46.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"551,-46.18 547.5,-36.18 544,-46.18 551,-46.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"566\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">mark</text>\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n"
      ],
      "text/plain": [
       "<graphviz.files.Source at 0x7f367e4408b0>"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "d_object, tagging, indexing = model.predict(string)\n",
    "d_object.to_graphvis()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Harder example"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "# https://www.astroawani.com/berita-malaysia/terbaik-tun-kita-geng-najib-razak-puji-tun-m-297884\n",
    "\n",
    "s = \"\"\"\n",
    "KUALA LUMPUR: Dalam hal politik, jarang sekali untuk melihat dua figura ini - bekas Perdana Menteri, Datuk Seri Najib Razak dan Tun Dr Mahathir Mohamad mempunyai 'pandangan yang sama' atau sekapal. Namun, situasi itu berbeza apabila melibatkan isu ketidakpatuhan terhadap prosedur operasi standard (SOP). Najib, yang juga Ahli Parlimen Pekan memuji sikap Ahli Parlimen Langkawi itu yang mengaku bersalah selepas melanggar SOP kerana tidak mengambil suhu badan ketika masuk ke sebuah surau di Langkawi pada Sabtu lalu.\n",
    "\"\"\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...\n",
      "To disable this warning, you can either:\n",
      "\t- Avoid using `tokenizers` before the fork if possible\n",
      "\t- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)\n"
     ]
    },
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<!-- Generated by graphviz version 2.43.0 (0)\n",
       " -->\n",
       "<!-- Title: G Pages: 1 -->\n",
       "<svg width=\"2625pt\" height=\"1349pt\"\n",
       " viewBox=\"0.00 0.00 2624.50 1349.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
       "<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 1345)\">\n",
       "<title>G</title>\n",
       "<polygon fill=\"white\" stroke=\"transparent\" points=\"-4,4 -4,-1345 2620.5,-1345 2620.5,4 -4,4\"/>\n",
       "<!-- 0 -->\n",
       "<g id=\"node1\" class=\"node\">\n",
       "<title>0</title>\n",
       "<text text-anchor=\"middle\" x=\"366.5\" y=\"-1319.3\" font-family=\"Times,serif\" font-size=\"14.00\">0 (None)</text>\n",
       "</g>\n",
       "<!-- 26 -->\n",
       "<g id=\"node2\" class=\"node\">\n",
       "<title>26</title>\n",
       "<text text-anchor=\"middle\" x=\"366.5\" y=\"-1232.3\" font-family=\"Times,serif\" font-size=\"14.00\">26 (mempunyai)</text>\n",
       "</g>\n",
       "<!-- 0&#45;&gt;26 -->\n",
       "<g id=\"edge1\" class=\"edge\">\n",
       "<title>0&#45;&gt;26</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M366.5,-1304.8C366.5,-1293.16 366.5,-1277.55 366.5,-1264.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"370,-1264.18 366.5,-1254.18 363,-1264.18 370,-1264.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"381.5\" y=\"-1275.8\" font-family=\"Times,serif\" font-size=\"14.00\">root</text>\n",
       "</g>\n",
       "<!-- 1 -->\n",
       "<g id=\"node3\" class=\"node\">\n",
       "<title>1</title>\n",
       "<text text-anchor=\"middle\" x=\"160.5\" y=\"-1145.3\" font-family=\"Times,serif\" font-size=\"14.00\">1 (KUALA)</text>\n",
       "</g>\n",
       "<!-- 26&#45;&gt;1 -->\n",
       "<g id=\"edge25\" class=\"edge\">\n",
       "<title>26&#45;&gt;1</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M324.81,-1217.8C292.04,-1204.27 246.24,-1185.38 211.31,-1170.97\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"212.35,-1167.61 201.77,-1167.03 209.68,-1174.08 212.35,-1167.61\"/>\n",
       "<text text-anchor=\"middle\" x=\"296.5\" y=\"-1188.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 9 -->\n",
       "<g id=\"node11\" class=\"node\">\n",
       "<title>9</title>\n",
       "<text text-anchor=\"middle\" x=\"366.5\" y=\"-1145.3\" font-family=\"Times,serif\" font-size=\"14.00\">9 (melihat)</text>\n",
       "</g>\n",
       "<!-- 26&#45;&gt;9 -->\n",
       "<g id=\"edge26\" class=\"edge\">\n",
       "<title>26&#45;&gt;9</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M366.5,-1217.8C366.5,-1206.16 366.5,-1190.55 366.5,-1177.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"370,-1177.18 366.5,-1167.18 363,-1177.18 370,-1177.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"390\" y=\"-1188.8\" font-family=\"Times,serif\" font-size=\"14.00\">xcomp</text>\n",
       "</g>\n",
       "<!-- 27 -->\n",
       "<g id=\"node28\" class=\"node\">\n",
       "<title>27</title>\n",
       "<text text-anchor=\"middle\" x=\"507.5\" y=\"-1145.3\" font-family=\"Times,serif\" font-size=\"14.00\">27 (&#39;pandangan)</text>\n",
       "</g>\n",
       "<!-- 26&#45;&gt;27 -->\n",
       "<g id=\"edge27\" class=\"edge\">\n",
       "<title>26&#45;&gt;27</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M395.03,-1217.8C416.73,-1204.72 446.75,-1186.62 470.32,-1172.41\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"472.25,-1175.34 479.01,-1167.18 468.64,-1169.34 472.25,-1175.34\"/>\n",
       "<text text-anchor=\"middle\" x=\"456.5\" y=\"-1188.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 2 -->\n",
       "<g id=\"node4\" class=\"node\">\n",
       "<title>2</title>\n",
       "<text text-anchor=\"middle\" x=\"55.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">2 (LUMPUR:)</text>\n",
       "</g>\n",
       "<!-- 1&#45;&gt;2 -->\n",
       "<g id=\"edge2\" class=\"edge\">\n",
       "<title>1&#45;&gt;2</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M139.25,-1130.8C123.6,-1118.13 102.11,-1100.73 84.82,-1086.74\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"86.69,-1083.75 76.72,-1080.18 82.29,-1089.19 86.69,-1083.75\"/>\n",
       "<text text-anchor=\"middle\" x=\"126.5\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 4 -->\n",
       "<g id=\"node5\" class=\"node\">\n",
       "<title>4</title>\n",
       "<text text-anchor=\"middle\" x=\"160.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">4 (hal)</text>\n",
       "</g>\n",
       "<!-- 1&#45;&gt;4 -->\n",
       "<g id=\"edge3\" class=\"edge\">\n",
       "<title>1&#45;&gt;4</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M160.5,-1130.8C160.5,-1119.16 160.5,-1103.55 160.5,-1090.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"164,-1090.18 160.5,-1080.18 157,-1090.18 164,-1090.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"180.5\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">nmod</text>\n",
       "</g>\n",
       "<!-- 3 -->\n",
       "<g id=\"node6\" class=\"node\">\n",
       "<title>3</title>\n",
       "<text text-anchor=\"middle\" x=\"54.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">3 (Dalam)</text>\n",
       "</g>\n",
       "<!-- 4&#45;&gt;3 -->\n",
       "<g id=\"edge4\" class=\"edge\">\n",
       "<title>4&#45;&gt;3</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M139.05,-1043.8C123.24,-1031.13 101.56,-1013.73 84.1,-999.74\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"85.91,-996.7 75.92,-993.18 81.53,-1002.16 85.91,-996.7\"/>\n",
       "<text text-anchor=\"middle\" x=\"130.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 5 -->\n",
       "<g id=\"node7\" class=\"node\">\n",
       "<title>5</title>\n",
       "<text text-anchor=\"middle\" x=\"160.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">5 (politik,)</text>\n",
       "</g>\n",
       "<!-- 4&#45;&gt;5 -->\n",
       "<g id=\"edge5\" class=\"edge\">\n",
       "<title>4&#45;&gt;5</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M160.5,-1043.8C160.5,-1032.16 160.5,-1016.55 160.5,-1003.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"164,-1003.18 160.5,-993.18 157,-1003.18 164,-1003.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"197.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">compound</text>\n",
       "</g>\n",
       "<!-- 6 -->\n",
       "<g id=\"node8\" class=\"node\">\n",
       "<title>6</title>\n",
       "<text text-anchor=\"middle\" x=\"264.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">6 (jarang)</text>\n",
       "</g>\n",
       "<!-- 7 -->\n",
       "<g id=\"node9\" class=\"node\">\n",
       "<title>7</title>\n",
       "<text text-anchor=\"middle\" x=\"264.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">7 (sekali)</text>\n",
       "</g>\n",
       "<!-- 6&#45;&gt;7 -->\n",
       "<g id=\"edge6\" class=\"edge\">\n",
       "<title>6&#45;&gt;7</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M264.5,-1043.8C264.5,-1032.16 264.5,-1016.55 264.5,-1003.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"268,-1003.18 264.5,-993.18 261,-1003.18 268,-1003.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"293\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">advmod</text>\n",
       "</g>\n",
       "<!-- 8 -->\n",
       "<g id=\"node10\" class=\"node\">\n",
       "<title>8</title>\n",
       "<text text-anchor=\"middle\" x=\"366.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">8 (untuk)</text>\n",
       "</g>\n",
       "<!-- 9&#45;&gt;6 -->\n",
       "<g id=\"edge7\" class=\"edge\">\n",
       "<title>9&#45;&gt;6</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M331.81,-1130.99C322.81,-1125.82 313.42,-1119.71 305.5,-1113 297.02,-1105.82 288.96,-1096.72 282.28,-1088.25\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"284.91,-1085.94 276.08,-1080.09 279.34,-1090.17 284.91,-1085.94\"/>\n",
       "<text text-anchor=\"middle\" x=\"334\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">advmod</text>\n",
       "</g>\n",
       "<!-- 9&#45;&gt;8 -->\n",
       "<g id=\"edge8\" class=\"edge\">\n",
       "<title>9&#45;&gt;8</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M366.5,-1130.8C366.5,-1119.16 366.5,-1103.55 366.5,-1090.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"370,-1090.18 366.5,-1080.18 363,-1090.18 370,-1090.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"382.5\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 11 -->\n",
       "<g id=\"node12\" class=\"node\">\n",
       "<title>11</title>\n",
       "<text text-anchor=\"middle\" x=\"471.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">11 (figura)</text>\n",
       "</g>\n",
       "<!-- 9&#45;&gt;11 -->\n",
       "<g id=\"edge9\" class=\"edge\">\n",
       "<title>9&#45;&gt;11</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M387.75,-1130.8C403.4,-1118.13 424.89,-1100.73 442.18,-1086.74\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"444.71,-1089.19 450.28,-1080.18 440.31,-1083.75 444.71,-1089.19\"/>\n",
       "<text text-anchor=\"middle\" x=\"436.5\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 10 -->\n",
       "<g id=\"node13\" class=\"node\">\n",
       "<title>10</title>\n",
       "<text text-anchor=\"middle\" x=\"361.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">10 (dua)</text>\n",
       "</g>\n",
       "<!-- 11&#45;&gt;10 -->\n",
       "<g id=\"edge10\" class=\"edge\">\n",
       "<title>11&#45;&gt;10</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M425.16,-1045.49C414.03,-1040.4 402.72,-1033.95 393.5,-1026 385.82,-1019.38 379.32,-1010.46 374.22,-1001.99\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"377.18,-1000.12 369.25,-993.1 371.07,-1003.54 377.18,-1000.12\"/>\n",
       "<text text-anchor=\"middle\" x=\"425\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">nummod</text>\n",
       "</g>\n",
       "<!-- 12 -->\n",
       "<g id=\"node14\" class=\"node\">\n",
       "<title>12</title>\n",
       "<text text-anchor=\"middle\" x=\"451.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">12 (ini)</text>\n",
       "</g>\n",
       "<!-- 11&#45;&gt;12 -->\n",
       "<g id=\"edge11\" class=\"edge\">\n",
       "<title>11&#45;&gt;12</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M467.45,-1043.8C464.71,-1032.16 461.04,-1016.55 457.91,-1003.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"461.24,-1002.11 455.54,-993.18 454.42,-1003.71 461.24,-1002.11\"/>\n",
       "<text text-anchor=\"middle\" x=\"475.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">det</text>\n",
       "</g>\n",
       "<!-- 13 -->\n",
       "<g id=\"node15\" class=\"node\">\n",
       "<title>13</title>\n",
       "<text text-anchor=\"middle\" x=\"530.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">13 (&#45;)</text>\n",
       "</g>\n",
       "<!-- 11&#45;&gt;13 -->\n",
       "<g id=\"edge12\" class=\"edge\">\n",
       "<title>11&#45;&gt;13</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M483.44,-1043.8C491.84,-1031.7 503.22,-1015.3 512.68,-1001.67\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"515.75,-1003.39 518.58,-993.18 510,-999.39 515.75,-1003.39\"/>\n",
       "<text text-anchor=\"middle\" x=\"526\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">punct</text>\n",
       "</g>\n",
       "<!-- 14 -->\n",
       "<g id=\"node16\" class=\"node\">\n",
       "<title>14</title>\n",
       "<text text-anchor=\"middle\" x=\"621.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">14 (bekas)</text>\n",
       "</g>\n",
       "<!-- 11&#45;&gt;14 -->\n",
       "<g id=\"edge13\" class=\"edge\">\n",
       "<title>11&#45;&gt;14</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M514.07,-1043.97C526.09,-1038.67 539.01,-1032.51 550.5,-1026 564.46,-1018.09 579.09,-1008.12 591.41,-999.16\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"593.57,-1001.92 599.54,-993.16 589.42,-996.28 593.57,-1001.92\"/>\n",
       "<text text-anchor=\"middle\" x=\"610.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">compound</text>\n",
       "</g>\n",
       "<!-- 15 -->\n",
       "<g id=\"node17\" class=\"node\">\n",
       "<title>15</title>\n",
       "<text text-anchor=\"middle\" x=\"621.5\" y=\"-884.3\" font-family=\"Times,serif\" font-size=\"14.00\">15 (Perdana)</text>\n",
       "</g>\n",
       "<!-- 14&#45;&gt;15 -->\n",
       "<g id=\"edge14\" class=\"edge\">\n",
       "<title>14&#45;&gt;15</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M621.5,-956.8C621.5,-945.16 621.5,-929.55 621.5,-916.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"625,-916.18 621.5,-906.18 618,-916.18 625,-916.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"633.5\" y=\"-927.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 16 -->\n",
       "<g id=\"node18\" class=\"node\">\n",
       "<title>16</title>\n",
       "<text text-anchor=\"middle\" x=\"549.5\" y=\"-797.3\" font-family=\"Times,serif\" font-size=\"14.00\">16 (Menteri,)</text>\n",
       "</g>\n",
       "<!-- 15&#45;&gt;16 -->\n",
       "<g id=\"edge15\" class=\"edge\">\n",
       "<title>15&#45;&gt;16</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M606.93,-869.8C596.49,-857.47 582.26,-840.68 570.58,-826.89\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"573.18,-824.54 564.05,-819.18 567.84,-829.07 573.18,-824.54\"/>\n",
       "<text text-anchor=\"middle\" x=\"602.5\" y=\"-840.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 22 -->\n",
       "<g id=\"node19\" class=\"node\">\n",
       "<title>22</title>\n",
       "<text text-anchor=\"middle\" x=\"661.5\" y=\"-797.3\" font-family=\"Times,serif\" font-size=\"14.00\">22 (Tun)</text>\n",
       "</g>\n",
       "<!-- 15&#45;&gt;22 -->\n",
       "<g id=\"edge16\" class=\"edge\">\n",
       "<title>15&#45;&gt;22</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M629.59,-869.8C635.18,-857.93 642.71,-841.93 649.05,-828.45\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"652.33,-829.71 653.42,-819.18 645.99,-826.73 652.33,-829.71\"/>\n",
       "<text text-anchor=\"middle\" x=\"659.5\" y=\"-840.8\" font-family=\"Times,serif\" font-size=\"14.00\">conj</text>\n",
       "</g>\n",
       "<!-- 17 -->\n",
       "<g id=\"node20\" class=\"node\">\n",
       "<title>17</title>\n",
       "<text text-anchor=\"middle\" x=\"549.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">17 (Datuk)</text>\n",
       "</g>\n",
       "<!-- 16&#45;&gt;17 -->\n",
       "<g id=\"edge17\" class=\"edge\">\n",
       "<title>16&#45;&gt;17</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M549.5,-782.8C549.5,-771.16 549.5,-755.55 549.5,-742.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"553,-742.18 549.5,-732.18 546,-742.18 553,-742.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"561.5\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 21 -->\n",
       "<g id=\"node24\" class=\"node\">\n",
       "<title>21</title>\n",
       "<text text-anchor=\"middle\" x=\"656.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">21 (dan)</text>\n",
       "</g>\n",
       "<!-- 22&#45;&gt;21 -->\n",
       "<g id=\"edge21\" class=\"edge\">\n",
       "<title>22&#45;&gt;21</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M660.49,-782.8C659.8,-771.16 658.89,-755.55 658.1,-742.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"661.59,-741.95 657.51,-732.18 654.6,-742.36 661.59,-741.95\"/>\n",
       "<text text-anchor=\"middle\" x=\"667.5\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">cc</text>\n",
       "</g>\n",
       "<!-- 23 -->\n",
       "<g id=\"node25\" class=\"node\">\n",
       "<title>23</title>\n",
       "<text text-anchor=\"middle\" x=\"746.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">23 (Dr)</text>\n",
       "</g>\n",
       "<!-- 22&#45;&gt;23 -->\n",
       "<g id=\"edge22\" class=\"edge\">\n",
       "<title>22&#45;&gt;23</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M678.7,-782.8C691.14,-770.36 708.14,-753.36 722,-739.5\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"724.73,-741.72 729.32,-732.18 719.78,-736.77 724.73,-741.72\"/>\n",
       "<text text-anchor=\"middle\" x=\"721.5\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 18 -->\n",
       "<g id=\"node21\" class=\"node\">\n",
       "<title>18</title>\n",
       "<text text-anchor=\"middle\" x=\"549.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">18 (Seri)</text>\n",
       "</g>\n",
       "<!-- 17&#45;&gt;18 -->\n",
       "<g id=\"edge18\" class=\"edge\">\n",
       "<title>17&#45;&gt;18</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M549.5,-695.8C549.5,-684.16 549.5,-668.55 549.5,-655.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"553,-655.18 549.5,-645.18 546,-655.18 553,-655.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"561.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 19 -->\n",
       "<g id=\"node22\" class=\"node\">\n",
       "<title>19</title>\n",
       "<text text-anchor=\"middle\" x=\"549.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">19 (Najib)</text>\n",
       "</g>\n",
       "<!-- 18&#45;&gt;19 -->\n",
       "<g id=\"edge19\" class=\"edge\">\n",
       "<title>18&#45;&gt;19</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M549.5,-608.8C549.5,-597.16 549.5,-581.55 549.5,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"553,-568.18 549.5,-558.18 546,-568.18 553,-568.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"561.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 20 -->\n",
       "<g id=\"node23\" class=\"node\">\n",
       "<title>20</title>\n",
       "<text text-anchor=\"middle\" x=\"549.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">20 (Razak)</text>\n",
       "</g>\n",
       "<!-- 19&#45;&gt;20 -->\n",
       "<g id=\"edge20\" class=\"edge\">\n",
       "<title>19&#45;&gt;20</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M549.5,-521.8C549.5,-510.16 549.5,-494.55 549.5,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"553,-481.18 549.5,-471.18 546,-481.18 553,-481.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"561.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 24 -->\n",
       "<g id=\"node26\" class=\"node\">\n",
       "<title>24</title>\n",
       "<text text-anchor=\"middle\" x=\"746.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">24 (Mahathir)</text>\n",
       "</g>\n",
       "<!-- 23&#45;&gt;24 -->\n",
       "<g id=\"edge23\" class=\"edge\">\n",
       "<title>23&#45;&gt;24</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M746.5,-695.8C746.5,-684.16 746.5,-668.55 746.5,-655.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"750,-655.18 746.5,-645.18 743,-655.18 750,-655.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"758.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 25 -->\n",
       "<g id=\"node27\" class=\"node\">\n",
       "<title>25</title>\n",
       "<text text-anchor=\"middle\" x=\"746.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">25 (Mohamad)</text>\n",
       "</g>\n",
       "<!-- 24&#45;&gt;25 -->\n",
       "<g id=\"edge24\" class=\"edge\">\n",
       "<title>24&#45;&gt;25</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M746.5,-608.8C746.5,-597.16 746.5,-581.55 746.5,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"750,-568.18 746.5,-558.18 743,-568.18 750,-568.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"758.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 35 -->\n",
       "<g id=\"node29\" class=\"node\">\n",
       "<title>35</title>\n",
       "<text text-anchor=\"middle\" x=\"905.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">35 (berbeza)</text>\n",
       "</g>\n",
       "<!-- 27&#45;&gt;35 -->\n",
       "<g id=\"edge28\" class=\"edge\">\n",
       "<title>27&#45;&gt;35</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M573.67,-1133.87C648.19,-1117.95 768.45,-1092.27 841.9,-1076.58\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"842.9,-1079.95 851.95,-1074.44 841.44,-1073.1 842.9,-1079.95\"/>\n",
       "<text text-anchor=\"middle\" x=\"741\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">acl</text>\n",
       "</g>\n",
       "<!-- 28 -->\n",
       "<g id=\"node30\" class=\"node\">\n",
       "<title>28</title>\n",
       "<text text-anchor=\"middle\" x=\"727.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">28 (yang)</text>\n",
       "</g>\n",
       "<!-- 35&#45;&gt;28 -->\n",
       "<g id=\"edge32\" class=\"edge\">\n",
       "<title>35&#45;&gt;28</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M862.43,-1043.96C849.18,-1038.48 834.64,-1032.21 821.5,-1026 803.31,-1017.4 783.6,-1007.07 766.94,-998.04\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"768.49,-994.9 758.03,-993.18 765.13,-1001.04 768.49,-994.9\"/>\n",
       "<text text-anchor=\"middle\" x=\"841.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 29 -->\n",
       "<g id=\"node31\" class=\"node\">\n",
       "<title>29</title>\n",
       "<text text-anchor=\"middle\" x=\"833.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">29 (sama&#39;)</text>\n",
       "</g>\n",
       "<!-- 35&#45;&gt;29 -->\n",
       "<g id=\"edge34\" class=\"edge\">\n",
       "<title>35&#45;&gt;29</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M890.93,-1043.8C880.49,-1031.47 866.26,-1014.68 854.58,-1000.89\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"857.18,-998.54 848.05,-993.18 851.84,-1003.07 857.18,-998.54\"/>\n",
       "<text text-anchor=\"middle\" x=\"895\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">punct</text>\n",
       "</g>\n",
       "<!-- 32 -->\n",
       "<g id=\"node34\" class=\"node\">\n",
       "<title>32</title>\n",
       "<text text-anchor=\"middle\" x=\"950.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">32 (Namun,)</text>\n",
       "</g>\n",
       "<!-- 35&#45;&gt;32 -->\n",
       "<g id=\"edge35\" class=\"edge\">\n",
       "<title>35&#45;&gt;32</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M914.61,-1043.8C920.95,-1031.82 929.53,-1015.62 936.71,-1002.06\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"939.82,-1003.65 941.41,-993.18 933.63,-1000.38 939.82,-1003.65\"/>\n",
       "<text text-anchor=\"middle\" x=\"950\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">mark</text>\n",
       "</g>\n",
       "<!-- 33 -->\n",
       "<g id=\"node35\" class=\"node\">\n",
       "<title>33</title>\n",
       "<text text-anchor=\"middle\" x=\"1070.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">33 (situasi)</text>\n",
       "</g>\n",
       "<!-- 35&#45;&gt;33 -->\n",
       "<g id=\"edge33\" class=\"edge\">\n",
       "<title>35&#45;&gt;33</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M938.89,-1043.8C964.69,-1030.51 1000.58,-1012.02 1028.36,-997.71\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1030.15,-1000.72 1037.44,-993.03 1026.95,-994.5 1030.15,-1000.72\"/>\n",
       "<text text-anchor=\"middle\" x=\"1018.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 37 -->\n",
       "<g id=\"node37\" class=\"node\">\n",
       "<title>37</title>\n",
       "<text text-anchor=\"middle\" x=\"1201.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">37 (melibatkan)</text>\n",
       "</g>\n",
       "<!-- 35&#45;&gt;37 -->\n",
       "<g id=\"edge36\" class=\"edge\">\n",
       "<title>35&#45;&gt;37</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M959.03,-1048.04C984.42,-1041.72 1015.11,-1033.8 1042.5,-1026 1074.88,-1016.78 1110.67,-1005.61 1140.08,-996.17\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1141.35,-999.44 1149.8,-993.04 1139.21,-992.78 1141.35,-999.44\"/>\n",
       "<text text-anchor=\"middle\" x=\"1110.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">advcl</text>\n",
       "</g>\n",
       "<!-- 31 -->\n",
       "<g id=\"node32\" class=\"node\">\n",
       "<title>31</title>\n",
       "<text text-anchor=\"middle\" x=\"833.5\" y=\"-884.3\" font-family=\"Times,serif\" font-size=\"14.00\">31 (sekapal.)</text>\n",
       "</g>\n",
       "<!-- 29&#45;&gt;31 -->\n",
       "<g id=\"edge29\" class=\"edge\">\n",
       "<title>29&#45;&gt;31</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M833.5,-956.8C833.5,-945.16 833.5,-929.55 833.5,-916.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"837,-916.18 833.5,-906.18 830,-916.18 837,-916.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"848.5\" y=\"-927.8\" font-family=\"Times,serif\" font-size=\"14.00\">conj</text>\n",
       "</g>\n",
       "<!-- 30 -->\n",
       "<g id=\"node33\" class=\"node\">\n",
       "<title>30</title>\n",
       "<text text-anchor=\"middle\" x=\"833.5\" y=\"-797.3\" font-family=\"Times,serif\" font-size=\"14.00\">30 (atau)</text>\n",
       "</g>\n",
       "<!-- 31&#45;&gt;30 -->\n",
       "<g id=\"edge30\" class=\"edge\">\n",
       "<title>31&#45;&gt;30</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M833.5,-869.8C833.5,-858.16 833.5,-842.55 833.5,-829.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"837,-829.18 833.5,-819.18 830,-829.18 837,-829.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"841.5\" y=\"-840.8\" font-family=\"Times,serif\" font-size=\"14.00\">cc</text>\n",
       "</g>\n",
       "<!-- 34 -->\n",
       "<g id=\"node36\" class=\"node\">\n",
       "<title>34</title>\n",
       "<text text-anchor=\"middle\" x=\"1070.5\" y=\"-884.3\" font-family=\"Times,serif\" font-size=\"14.00\">34 (itu)</text>\n",
       "</g>\n",
       "<!-- 33&#45;&gt;34 -->\n",
       "<g id=\"edge31\" class=\"edge\">\n",
       "<title>33&#45;&gt;34</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1070.5,-956.8C1070.5,-945.16 1070.5,-929.55 1070.5,-916.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1074,-916.18 1070.5,-906.18 1067,-916.18 1074,-916.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1082.5\" y=\"-927.8\" font-family=\"Times,serif\" font-size=\"14.00\">det</text>\n",
       "</g>\n",
       "<!-- 36 -->\n",
       "<g id=\"node38\" class=\"node\">\n",
       "<title>36</title>\n",
       "<text text-anchor=\"middle\" x=\"1187.5\" y=\"-884.3\" font-family=\"Times,serif\" font-size=\"14.00\">36 (apabila)</text>\n",
       "</g>\n",
       "<!-- 37&#45;&gt;36 -->\n",
       "<g id=\"edge37\" class=\"edge\">\n",
       "<title>37&#45;&gt;36</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1198.67,-956.8C1196.75,-945.16 1194.18,-929.55 1191.99,-916.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1195.41,-915.47 1190.33,-906.18 1188.5,-916.61 1195.41,-915.47\"/>\n",
       "<text text-anchor=\"middle\" x=\"1214\" y=\"-927.8\" font-family=\"Times,serif\" font-size=\"14.00\">mark</text>\n",
       "</g>\n",
       "<!-- 38 -->\n",
       "<g id=\"node39\" class=\"node\">\n",
       "<title>38</title>\n",
       "<text text-anchor=\"middle\" x=\"1291.5\" y=\"-884.3\" font-family=\"Times,serif\" font-size=\"14.00\">38 (isu)</text>\n",
       "</g>\n",
       "<!-- 37&#45;&gt;38 -->\n",
       "<g id=\"edge38\" class=\"edge\">\n",
       "<title>37&#45;&gt;38</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1219.71,-956.8C1233.01,-944.24 1251.21,-927.05 1265.96,-913.12\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1268.45,-915.59 1273.31,-906.18 1263.64,-910.5 1268.45,-915.59\"/>\n",
       "<text text-anchor=\"middle\" x=\"1263.5\" y=\"-927.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 39 -->\n",
       "<g id=\"node40\" class=\"node\">\n",
       "<title>39</title>\n",
       "<text text-anchor=\"middle\" x=\"1227.5\" y=\"-797.3\" font-family=\"Times,serif\" font-size=\"14.00\">39 (ketidakpatuhan)</text>\n",
       "</g>\n",
       "<!-- 38&#45;&gt;39 -->\n",
       "<g id=\"edge39\" class=\"edge\">\n",
       "<title>38&#45;&gt;39</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1273.99,-869.81C1268.76,-864.32 1263.18,-858.09 1258.5,-852 1252.71,-844.47 1247.04,-835.81 1242.16,-827.84\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1245.15,-826.02 1237.02,-819.23 1239.14,-829.61 1245.15,-826.02\"/>\n",
       "<text text-anchor=\"middle\" x=\"1295.5\" y=\"-840.8\" font-family=\"Times,serif\" font-size=\"14.00\">compound</text>\n",
       "</g>\n",
       "<!-- 41 -->\n",
       "<g id=\"node41\" class=\"node\">\n",
       "<title>41</title>\n",
       "<text text-anchor=\"middle\" x=\"1383.5\" y=\"-797.3\" font-family=\"Times,serif\" font-size=\"14.00\">41 (prosedur)</text>\n",
       "</g>\n",
       "<!-- 38&#45;&gt;41 -->\n",
       "<g id=\"edge40\" class=\"edge\">\n",
       "<title>38&#45;&gt;41</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1312.18,-869.83C1318.76,-864.24 1326.01,-857.94 1332.5,-852 1341.32,-843.93 1350.74,-834.84 1359.05,-826.64\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1361.69,-828.96 1366.32,-819.43 1356.76,-823.99 1361.69,-828.96\"/>\n",
       "<text text-anchor=\"middle\" x=\"1368.5\" y=\"-840.8\" font-family=\"Times,serif\" font-size=\"14.00\">nmod</text>\n",
       "</g>\n",
       "<!-- 40 -->\n",
       "<g id=\"node42\" class=\"node\">\n",
       "<title>40</title>\n",
       "<text text-anchor=\"middle\" x=\"1257.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">40 (terhadap)</text>\n",
       "</g>\n",
       "<!-- 41&#45;&gt;40 -->\n",
       "<g id=\"edge41\" class=\"edge\">\n",
       "<title>41&#45;&gt;40</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1358,-782.8C1338.79,-769.84 1312.26,-751.94 1291.28,-737.79\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1293.21,-734.87 1282.96,-732.18 1289.29,-740.67 1293.21,-734.87\"/>\n",
       "<text text-anchor=\"middle\" x=\"1344.5\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 42 -->\n",
       "<g id=\"node43\" class=\"node\">\n",
       "<title>42</title>\n",
       "<text text-anchor=\"middle\" x=\"1383.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">42 (operasi)</text>\n",
       "</g>\n",
       "<!-- 41&#45;&gt;42 -->\n",
       "<g id=\"edge42\" class=\"edge\">\n",
       "<title>41&#45;&gt;42</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1383.5,-782.8C1383.5,-771.16 1383.5,-755.55 1383.5,-742.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1387,-742.18 1383.5,-732.18 1380,-742.18 1387,-742.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1420.5\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">compound</text>\n",
       "</g>\n",
       "<!-- 51 -->\n",
       "<g id=\"node44\" class=\"node\">\n",
       "<title>51</title>\n",
       "<text text-anchor=\"middle\" x=\"1516.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">51 (memuji)</text>\n",
       "</g>\n",
       "<!-- 41&#45;&gt;51 -->\n",
       "<g id=\"edge43\" class=\"edge\">\n",
       "<title>41&#45;&gt;51</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1428.1,-782.9C1439.37,-777.8 1451.19,-771.75 1461.5,-765 1472.63,-757.71 1483.72,-748.18 1492.99,-739.4\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1495.6,-741.75 1500.32,-732.26 1490.71,-736.73 1495.6,-741.75\"/>\n",
       "<text text-anchor=\"middle\" x=\"1492\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">acl</text>\n",
       "</g>\n",
       "<!-- 43 -->\n",
       "<g id=\"node45\" class=\"node\">\n",
       "<title>43</title>\n",
       "<text text-anchor=\"middle\" x=\"1334.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">43 (standard)</text>\n",
       "</g>\n",
       "<!-- 42&#45;&gt;43 -->\n",
       "<g id=\"edge44\" class=\"edge\">\n",
       "<title>42&#45;&gt;43</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1373.58,-695.8C1366.68,-683.82 1357.34,-667.62 1349.52,-654.06\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1352.43,-652.09 1344.4,-645.18 1346.36,-655.59 1352.43,-652.09\"/>\n",
       "<text text-anchor=\"middle\" x=\"1374.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 46 -->\n",
       "<g id=\"node48\" class=\"node\">\n",
       "<title>46</title>\n",
       "<text text-anchor=\"middle\" x=\"1453.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">46 (yang)</text>\n",
       "</g>\n",
       "<!-- 51&#45;&gt;46 -->\n",
       "<g id=\"edge50\" class=\"edge\">\n",
       "<title>51&#45;&gt;46</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1503.75,-695.8C1494.7,-683.59 1482.4,-666.99 1472.24,-653.28\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1475,-651.13 1466.23,-645.18 1469.37,-655.29 1475,-651.13\"/>\n",
       "<text text-anchor=\"middle\" x=\"1500.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 48 -->\n",
       "<g id=\"node50\" class=\"node\">\n",
       "<title>48</title>\n",
       "<text text-anchor=\"middle\" x=\"1552.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">48 (Ahli)</text>\n",
       "</g>\n",
       "<!-- 51&#45;&gt;48 -->\n",
       "<g id=\"edge52\" class=\"edge\">\n",
       "<title>51&#45;&gt;48</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1523.79,-695.8C1528.81,-683.93 1535.59,-667.93 1541.3,-654.45\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1544.55,-655.75 1545.23,-645.18 1538.1,-653.02 1544.55,-655.75\"/>\n",
       "<text text-anchor=\"middle\" x=\"1557.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 52 -->\n",
       "<g id=\"node53\" class=\"node\">\n",
       "<title>52</title>\n",
       "<text text-anchor=\"middle\" x=\"1670.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">52 (sikap)</text>\n",
       "</g>\n",
       "<!-- 51&#45;&gt;52 -->\n",
       "<g id=\"edge51\" class=\"edge\">\n",
       "<title>51&#45;&gt;52</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1548.63,-695.85C1559.13,-690.2 1570.83,-683.87 1581.5,-678 1597.99,-668.93 1616.1,-658.79 1631.67,-650.02\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1633.51,-652.99 1640.5,-645.03 1630.07,-646.9 1633.51,-652.99\"/>\n",
       "<text text-anchor=\"middle\" x=\"1619.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 44 -->\n",
       "<g id=\"node46\" class=\"node\">\n",
       "<title>44</title>\n",
       "<text text-anchor=\"middle\" x=\"1332.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">44 ((SOP).)</text>\n",
       "</g>\n",
       "<!-- 43&#45;&gt;44 -->\n",
       "<g id=\"edge45\" class=\"edge\">\n",
       "<title>43&#45;&gt;44</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1334.1,-608.8C1333.82,-597.16 1333.45,-581.55 1333.14,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1336.64,-568.09 1332.9,-558.18 1329.64,-568.26 1336.64,-568.09\"/>\n",
       "<text text-anchor=\"middle\" x=\"1346.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 45 -->\n",
       "<g id=\"node47\" class=\"node\">\n",
       "<title>45</title>\n",
       "<text text-anchor=\"middle\" x=\"1332.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">45 (Najib,)</text>\n",
       "</g>\n",
       "<!-- 44&#45;&gt;45 -->\n",
       "<g id=\"edge46\" class=\"edge\">\n",
       "<title>44&#45;&gt;45</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1332.5,-521.8C1332.5,-510.16 1332.5,-494.55 1332.5,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1336,-481.18 1332.5,-471.18 1329,-481.18 1336,-481.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1344.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 47 -->\n",
       "<g id=\"node49\" class=\"node\">\n",
       "<title>47</title>\n",
       "<text text-anchor=\"middle\" x=\"1438.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">47 (juga)</text>\n",
       "</g>\n",
       "<!-- 48&#45;&gt;47 -->\n",
       "<g id=\"edge47\" class=\"edge\">\n",
       "<title>48&#45;&gt;47</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1520.22,-608.91C1511,-603.56 1501.12,-597.39 1492.5,-591 1482.07,-583.28 1471.42,-573.81 1462.36,-565.2\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1464.78,-562.68 1455.17,-558.23 1459.91,-567.7 1464.78,-562.68\"/>\n",
       "<text text-anchor=\"middle\" x=\"1521\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">advmod</text>\n",
       "</g>\n",
       "<!-- 49 -->\n",
       "<g id=\"node51\" class=\"node\">\n",
       "<title>49</title>\n",
       "<text text-anchor=\"middle\" x=\"1553.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">49 (Parlimen)</text>\n",
       "</g>\n",
       "<!-- 48&#45;&gt;49 -->\n",
       "<g id=\"edge48\" class=\"edge\">\n",
       "<title>48&#45;&gt;49</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1552.7,-608.8C1552.84,-597.16 1553.02,-581.55 1553.18,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1556.68,-568.22 1553.3,-558.18 1549.68,-568.13 1556.68,-568.22\"/>\n",
       "<text text-anchor=\"middle\" x=\"1565.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 50 -->\n",
       "<g id=\"node52\" class=\"node\">\n",
       "<title>50</title>\n",
       "<text text-anchor=\"middle\" x=\"1549.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">50 (Pekan)</text>\n",
       "</g>\n",
       "<!-- 49&#45;&gt;50 -->\n",
       "<g id=\"edge49\" class=\"edge\">\n",
       "<title>49&#45;&gt;50</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1552.69,-521.8C1552.14,-510.16 1551.41,-494.55 1550.78,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1554.27,-481 1550.31,-471.18 1547.28,-481.33 1554.27,-481\"/>\n",
       "<text text-anchor=\"middle\" x=\"1564.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 53 -->\n",
       "<g id=\"node54\" class=\"node\">\n",
       "<title>53</title>\n",
       "<text text-anchor=\"middle\" x=\"1670.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">53 (Ahli)</text>\n",
       "</g>\n",
       "<!-- 52&#45;&gt;53 -->\n",
       "<g id=\"edge53\" class=\"edge\">\n",
       "<title>52&#45;&gt;53</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1670.5,-608.8C1670.5,-597.16 1670.5,-581.55 1670.5,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1674,-568.18 1670.5,-558.18 1667,-568.18 1674,-568.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1682.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 58 -->\n",
       "<g id=\"node55\" class=\"node\">\n",
       "<title>58</title>\n",
       "<text text-anchor=\"middle\" x=\"1787.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">58 (mengaku)</text>\n",
       "</g>\n",
       "<!-- 52&#45;&gt;58 -->\n",
       "<g id=\"edge54\" class=\"edge\">\n",
       "<title>52&#45;&gt;58</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1694.18,-608.8C1711.86,-595.95 1736.22,-578.26 1755.61,-564.17\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1757.83,-566.88 1763.86,-558.18 1753.71,-561.22 1757.83,-566.88\"/>\n",
       "<text text-anchor=\"middle\" x=\"1747\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">acl</text>\n",
       "</g>\n",
       "<!-- 54 -->\n",
       "<g id=\"node56\" class=\"node\">\n",
       "<title>54</title>\n",
       "<text text-anchor=\"middle\" x=\"1670.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">54 (Parlimen)</text>\n",
       "</g>\n",
       "<!-- 53&#45;&gt;54 -->\n",
       "<g id=\"edge55\" class=\"edge\">\n",
       "<title>53&#45;&gt;54</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1670.5,-521.8C1670.5,-510.16 1670.5,-494.55 1670.5,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1674,-481.18 1670.5,-471.18 1667,-481.18 1674,-481.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1682.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 57 -->\n",
       "<g id=\"node59\" class=\"node\">\n",
       "<title>57</title>\n",
       "<text text-anchor=\"middle\" x=\"1787.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">57 (yang)</text>\n",
       "</g>\n",
       "<!-- 58&#45;&gt;57 -->\n",
       "<g id=\"edge58\" class=\"edge\">\n",
       "<title>58&#45;&gt;57</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1787.5,-521.8C1787.5,-510.16 1787.5,-494.55 1787.5,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1791,-481.18 1787.5,-471.18 1784,-481.18 1791,-481.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1807.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 59 -->\n",
       "<g id=\"node60\" class=\"node\">\n",
       "<title>59</title>\n",
       "<text text-anchor=\"middle\" x=\"1902.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">59 (bersalah)</text>\n",
       "</g>\n",
       "<!-- 58&#45;&gt;59 -->\n",
       "<g id=\"edge59\" class=\"edge\">\n",
       "<title>58&#45;&gt;59</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1810.77,-521.8C1828.15,-508.95 1852.09,-491.26 1871.16,-477.17\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1873.3,-479.93 1879.26,-471.18 1869.14,-474.3 1873.3,-479.93\"/>\n",
       "<text text-anchor=\"middle\" x=\"1876\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">xcomp</text>\n",
       "</g>\n",
       "<!-- 55 -->\n",
       "<g id=\"node57\" class=\"node\">\n",
       "<title>55</title>\n",
       "<text text-anchor=\"middle\" x=\"1670.5\" y=\"-362.3\" font-family=\"Times,serif\" font-size=\"14.00\">55 (Langkawi)</text>\n",
       "</g>\n",
       "<!-- 54&#45;&gt;55 -->\n",
       "<g id=\"edge56\" class=\"edge\">\n",
       "<title>54&#45;&gt;55</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1670.5,-434.8C1670.5,-423.16 1670.5,-407.55 1670.5,-394.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1674,-394.18 1670.5,-384.18 1667,-394.18 1674,-394.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1682.5\" y=\"-405.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 56 -->\n",
       "<g id=\"node58\" class=\"node\">\n",
       "<title>56</title>\n",
       "<text text-anchor=\"middle\" x=\"1670.5\" y=\"-275.3\" font-family=\"Times,serif\" font-size=\"14.00\">56 (itu)</text>\n",
       "</g>\n",
       "<!-- 55&#45;&gt;56 -->\n",
       "<g id=\"edge57\" class=\"edge\">\n",
       "<title>55&#45;&gt;56</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1670.5,-347.8C1670.5,-336.16 1670.5,-320.55 1670.5,-307.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1674,-307.18 1670.5,-297.18 1667,-307.18 1674,-307.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1682.5\" y=\"-318.8\" font-family=\"Times,serif\" font-size=\"14.00\">det</text>\n",
       "</g>\n",
       "<!-- 61 -->\n",
       "<g id=\"node61\" class=\"node\">\n",
       "<title>61</title>\n",
       "<text text-anchor=\"middle\" x=\"1902.5\" y=\"-362.3\" font-family=\"Times,serif\" font-size=\"14.00\">61 (melanggar)</text>\n",
       "</g>\n",
       "<!-- 59&#45;&gt;61 -->\n",
       "<g id=\"edge60\" class=\"edge\">\n",
       "<title>59&#45;&gt;61</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1902.5,-434.8C1902.5,-423.16 1902.5,-407.55 1902.5,-394.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1906,-394.18 1902.5,-384.18 1899,-394.18 1906,-394.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1926\" y=\"-405.8\" font-family=\"Times,serif\" font-size=\"14.00\">xcomp</text>\n",
       "</g>\n",
       "<!-- 60 -->\n",
       "<g id=\"node62\" class=\"node\">\n",
       "<title>60</title>\n",
       "<text text-anchor=\"middle\" x=\"1792.5\" y=\"-275.3\" font-family=\"Times,serif\" font-size=\"14.00\">60 (selepas)</text>\n",
       "</g>\n",
       "<!-- 61&#45;&gt;60 -->\n",
       "<g id=\"edge61\" class=\"edge\">\n",
       "<title>61&#45;&gt;60</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1880.24,-347.8C1863.69,-335.01 1840.92,-317.42 1822.73,-303.36\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1824.78,-300.52 1814.73,-297.18 1820.5,-306.06 1824.78,-300.52\"/>\n",
       "<text text-anchor=\"middle\" x=\"1866.5\" y=\"-318.8\" font-family=\"Times,serif\" font-size=\"14.00\">det</text>\n",
       "</g>\n",
       "<!-- 62 -->\n",
       "<g id=\"node63\" class=\"node\">\n",
       "<title>62</title>\n",
       "<text text-anchor=\"middle\" x=\"1902.5\" y=\"-275.3\" font-family=\"Times,serif\" font-size=\"14.00\">62 (SOP)</text>\n",
       "</g>\n",
       "<!-- 61&#45;&gt;62 -->\n",
       "<g id=\"edge62\" class=\"edge\">\n",
       "<title>61&#45;&gt;62</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1902.5,-347.8C1902.5,-336.16 1902.5,-320.55 1902.5,-307.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1906,-307.18 1902.5,-297.18 1899,-307.18 1906,-307.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1913.5\" y=\"-318.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 65 -->\n",
       "<g id=\"node64\" class=\"node\">\n",
       "<title>65</title>\n",
       "<text text-anchor=\"middle\" x=\"2025.5\" y=\"-275.3\" font-family=\"Times,serif\" font-size=\"14.00\">65 (mengambil)</text>\n",
       "</g>\n",
       "<!-- 61&#45;&gt;65 -->\n",
       "<g id=\"edge63\" class=\"edge\">\n",
       "<title>61&#45;&gt;65</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1927.39,-347.8C1946.06,-334.9 1971.81,-317.1 1992.25,-302.98\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1994.41,-305.74 2000.65,-297.18 1990.43,-299.98 1994.41,-305.74\"/>\n",
       "<text text-anchor=\"middle\" x=\"1990.5\" y=\"-318.8\" font-family=\"Times,serif\" font-size=\"14.00\">advcl</text>\n",
       "</g>\n",
       "<!-- 63 -->\n",
       "<g id=\"node65\" class=\"node\">\n",
       "<title>63</title>\n",
       "<text text-anchor=\"middle\" x=\"1870.5\" y=\"-188.3\" font-family=\"Times,serif\" font-size=\"14.00\">63 (kerana)</text>\n",
       "</g>\n",
       "<!-- 65&#45;&gt;63 -->\n",
       "<g id=\"edge64\" class=\"edge\">\n",
       "<title>65&#45;&gt;63</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1983.47,-260.91C1971.34,-255.57 1958.22,-249.39 1946.5,-243 1931.6,-234.87 1915.82,-224.76 1902.52,-215.76\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1904.4,-212.8 1894.17,-210.03 1900.44,-218.57 1904.4,-212.8\"/>\n",
       "<text text-anchor=\"middle\" x=\"1965\" y=\"-231.8\" font-family=\"Times,serif\" font-size=\"14.00\">mark</text>\n",
       "</g>\n",
       "<!-- 64 -->\n",
       "<g id=\"node66\" class=\"node\">\n",
       "<title>64</title>\n",
       "<text text-anchor=\"middle\" x=\"1980.5\" y=\"-188.3\" font-family=\"Times,serif\" font-size=\"14.00\">64 (tidak)</text>\n",
       "</g>\n",
       "<!-- 65&#45;&gt;64 -->\n",
       "<g id=\"edge65\" class=\"edge\">\n",
       "<title>65&#45;&gt;64</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2006.03,-260.92C2000.99,-255.62 1996,-249.46 1992.5,-243 1988.76,-236.09 1986.18,-228.02 1984.39,-220.41\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1987.8,-219.59 1982.42,-210.46 1980.93,-220.95 1987.8,-219.59\"/>\n",
       "<text text-anchor=\"middle\" x=\"2021\" y=\"-231.8\" font-family=\"Times,serif\" font-size=\"14.00\">advmod</text>\n",
       "</g>\n",
       "<!-- 66 -->\n",
       "<g id=\"node67\" class=\"node\">\n",
       "<title>66</title>\n",
       "<text text-anchor=\"middle\" x=\"2083.5\" y=\"-188.3\" font-family=\"Times,serif\" font-size=\"14.00\">66 (suhu)</text>\n",
       "</g>\n",
       "<!-- 65&#45;&gt;66 -->\n",
       "<g id=\"edge66\" class=\"edge\">\n",
       "<title>65&#45;&gt;66</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2037.23,-260.92C2041.14,-255.22 2045.51,-248.84 2049.5,-243 2054.92,-235.06 2060.81,-226.41 2066.14,-218.57\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2069.15,-220.37 2071.87,-210.14 2063.36,-216.44 2069.15,-220.37\"/>\n",
       "<text text-anchor=\"middle\" x=\"2070.5\" y=\"-231.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 69 -->\n",
       "<g id=\"node68\" class=\"node\">\n",
       "<title>69</title>\n",
       "<text text-anchor=\"middle\" x=\"2247.5\" y=\"-188.3\" font-family=\"Times,serif\" font-size=\"14.00\">69 (masuk)</text>\n",
       "</g>\n",
       "<!-- 65&#45;&gt;69 -->\n",
       "<g id=\"edge67\" class=\"edge\">\n",
       "<title>65&#45;&gt;69</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2070.16,-260.9C2105.76,-247.27 2155.74,-228.13 2193.57,-213.65\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2194.83,-216.92 2202.91,-210.07 2192.32,-210.38 2194.83,-216.92\"/>\n",
       "<text text-anchor=\"middle\" x=\"2169.5\" y=\"-231.8\" font-family=\"Times,serif\" font-size=\"14.00\">advcl</text>\n",
       "</g>\n",
       "<!-- 67 -->\n",
       "<g id=\"node69\" class=\"node\">\n",
       "<title>67</title>\n",
       "<text text-anchor=\"middle\" x=\"2026.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">67 (badan)</text>\n",
       "</g>\n",
       "<!-- 66&#45;&gt;67 -->\n",
       "<g id=\"edge68\" class=\"edge\">\n",
       "<title>66&#45;&gt;67</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2058.05,-173.84C2051.93,-168.71 2045.89,-162.65 2041.5,-156 2036.98,-149.16 2033.79,-140.92 2031.54,-133.12\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2034.9,-132.14 2029.11,-123.27 2028.11,-133.82 2034.9,-132.14\"/>\n",
       "<text text-anchor=\"middle\" x=\"2078.5\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">compound</text>\n",
       "</g>\n",
       "<!-- 68 -->\n",
       "<g id=\"node70\" class=\"node\">\n",
       "<title>68</title>\n",
       "<text text-anchor=\"middle\" x=\"2137.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">68 (ketika)</text>\n",
       "</g>\n",
       "<!-- 69&#45;&gt;68 -->\n",
       "<g id=\"edge69\" class=\"edge\">\n",
       "<title>69&#45;&gt;68</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2225.24,-173.8C2208.69,-161.01 2185.92,-143.42 2167.73,-129.36\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2169.78,-126.52 2159.73,-123.18 2165.5,-132.06 2169.78,-126.52\"/>\n",
       "<text text-anchor=\"middle\" x=\"2218\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">mark</text>\n",
       "</g>\n",
       "<!-- 72 -->\n",
       "<g id=\"node71\" class=\"node\">\n",
       "<title>72</title>\n",
       "<text text-anchor=\"middle\" x=\"2247.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">72 (surau)</text>\n",
       "</g>\n",
       "<!-- 69&#45;&gt;72 -->\n",
       "<g id=\"edge70\" class=\"edge\">\n",
       "<title>69&#45;&gt;72</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2247.5,-173.8C2247.5,-162.16 2247.5,-146.55 2247.5,-133.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2251,-133.18 2247.5,-123.18 2244,-133.18 2251,-133.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"2258.5\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">obl</text>\n",
       "</g>\n",
       "<!-- 74 -->\n",
       "<g id=\"node72\" class=\"node\">\n",
       "<title>74</title>\n",
       "<text text-anchor=\"middle\" x=\"2369.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">74 (Langkawi)</text>\n",
       "</g>\n",
       "<!-- 69&#45;&gt;74 -->\n",
       "<g id=\"edge71\" class=\"edge\">\n",
       "<title>69&#45;&gt;74</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2272.19,-173.8C2290.71,-160.9 2316.25,-143.1 2336.52,-128.98\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2338.64,-131.76 2344.85,-123.18 2334.64,-126.02 2338.64,-131.76\"/>\n",
       "<text text-anchor=\"middle\" x=\"2327.5\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">obl</text>\n",
       "</g>\n",
       "<!-- 76 -->\n",
       "<g id=\"node73\" class=\"node\">\n",
       "<title>76</title>\n",
       "<text text-anchor=\"middle\" x=\"2492.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">76 (Sabtu)</text>\n",
       "</g>\n",
       "<!-- 69&#45;&gt;76 -->\n",
       "<g id=\"edge72\" class=\"edge\">\n",
       "<title>69&#45;&gt;76</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2295.61,-174.31C2336.08,-160.27 2393.97,-140.18 2436.51,-125.42\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2437.86,-128.66 2446.16,-122.08 2435.56,-122.05 2437.86,-128.66\"/>\n",
       "<text text-anchor=\"middle\" x=\"2396.5\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">obl</text>\n",
       "</g>\n",
       "<!-- 70 -->\n",
       "<g id=\"node74\" class=\"node\">\n",
       "<title>70</title>\n",
       "<text text-anchor=\"middle\" x=\"2156.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">70 (ke)</text>\n",
       "</g>\n",
       "<!-- 72&#45;&gt;70 -->\n",
       "<g id=\"edge73\" class=\"edge\">\n",
       "<title>72&#45;&gt;70</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2229.08,-86.8C2215.64,-74.24 2197.24,-57.05 2182.32,-43.12\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2184.58,-40.44 2174.89,-36.18 2179.81,-45.56 2184.58,-40.44\"/>\n",
       "<text text-anchor=\"middle\" x=\"2223.5\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 71 -->\n",
       "<g id=\"node75\" class=\"node\">\n",
       "<title>71</title>\n",
       "<text text-anchor=\"middle\" x=\"2258.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">71 (sebuah)</text>\n",
       "</g>\n",
       "<!-- 72&#45;&gt;71 -->\n",
       "<g id=\"edge74\" class=\"edge\">\n",
       "<title>72&#45;&gt;71</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2249.73,-86.8C2251.23,-75.16 2253.25,-59.55 2254.98,-46.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2258.46,-46.54 2256.28,-36.18 2251.52,-45.64 2258.46,-46.54\"/>\n",
       "<text text-anchor=\"middle\" x=\"2266.5\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">det</text>\n",
       "</g>\n",
       "<!-- 73 -->\n",
       "<g id=\"node76\" class=\"node\">\n",
       "<title>73</title>\n",
       "<text text-anchor=\"middle\" x=\"2369.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">73 (di)</text>\n",
       "</g>\n",
       "<!-- 74&#45;&gt;73 -->\n",
       "<g id=\"edge75\" class=\"edge\">\n",
       "<title>74&#45;&gt;73</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2369.5,-86.8C2369.5,-75.16 2369.5,-59.55 2369.5,-46.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2373,-46.18 2369.5,-36.18 2366,-46.18 2373,-46.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"2385.5\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 75 -->\n",
       "<g id=\"node77\" class=\"node\">\n",
       "<title>75</title>\n",
       "<text text-anchor=\"middle\" x=\"2476.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">75 (pada)</text>\n",
       "</g>\n",
       "<!-- 76&#45;&gt;75 -->\n",
       "<g id=\"edge76\" class=\"edge\">\n",
       "<title>76&#45;&gt;75</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2489.26,-86.8C2487.07,-75.16 2484.13,-59.55 2481.63,-46.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2485.02,-45.36 2479.73,-36.18 2478.14,-46.65 2485.02,-45.36\"/>\n",
       "<text text-anchor=\"middle\" x=\"2501.5\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 77 -->\n",
       "<g id=\"node78\" class=\"node\">\n",
       "<title>77</title>\n",
       "<text text-anchor=\"middle\" x=\"2576.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">77 (lalu.)</text>\n",
       "</g>\n",
       "<!-- 76&#45;&gt;77 -->\n",
       "<g id=\"edge77\" class=\"edge\">\n",
       "<title>76&#45;&gt;77</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2509.5,-86.8C2521.8,-74.36 2538.59,-57.36 2552.28,-43.5\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2554.99,-45.75 2559.53,-36.18 2550.01,-40.83 2554.99,-45.75\"/>\n",
       "<text text-anchor=\"middle\" x=\"2560\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">punct</text>\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n"
      ],
      "text/plain": [
       "<graphviz.files.Source at 0x7f367e440d90>"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "d_object, tagging, indexing = model.predict(s)\n",
    "d_object.to_graphvis()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Dependency graph object\n",
    "\n",
    "To initiate a dependency graph from dependency models, you need to call `malaya.dependency.dependency_graph`."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<malaya.function.parse_dependency.DependencyGraph at 0x7f3680991be0>"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "graph = malaya.dependency.dependency_graph(tagging, indexing)\n",
    "graph"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### generate graphvis"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...\n",
      "To disable this warning, you can either:\n",
      "\t- Avoid using `tokenizers` before the fork if possible\n",
      "\t- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)\n"
     ]
    },
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       " \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<!-- Generated by graphviz version 2.43.0 (0)\n",
       " -->\n",
       "<!-- Title: G Pages: 1 -->\n",
       "<svg width=\"2625pt\" height=\"1349pt\"\n",
       " viewBox=\"0.00 0.00 2624.50 1349.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
       "<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 1345)\">\n",
       "<title>G</title>\n",
       "<polygon fill=\"white\" stroke=\"transparent\" points=\"-4,4 -4,-1345 2620.5,-1345 2620.5,4 -4,4\"/>\n",
       "<!-- 0 -->\n",
       "<g id=\"node1\" class=\"node\">\n",
       "<title>0</title>\n",
       "<text text-anchor=\"middle\" x=\"366.5\" y=\"-1319.3\" font-family=\"Times,serif\" font-size=\"14.00\">0 (None)</text>\n",
       "</g>\n",
       "<!-- 26 -->\n",
       "<g id=\"node2\" class=\"node\">\n",
       "<title>26</title>\n",
       "<text text-anchor=\"middle\" x=\"366.5\" y=\"-1232.3\" font-family=\"Times,serif\" font-size=\"14.00\">26 (mempunyai)</text>\n",
       "</g>\n",
       "<!-- 0&#45;&gt;26 -->\n",
       "<g id=\"edge1\" class=\"edge\">\n",
       "<title>0&#45;&gt;26</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M366.5,-1304.8C366.5,-1293.16 366.5,-1277.55 366.5,-1264.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"370,-1264.18 366.5,-1254.18 363,-1264.18 370,-1264.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"381.5\" y=\"-1275.8\" font-family=\"Times,serif\" font-size=\"14.00\">root</text>\n",
       "</g>\n",
       "<!-- 1 -->\n",
       "<g id=\"node3\" class=\"node\">\n",
       "<title>1</title>\n",
       "<text text-anchor=\"middle\" x=\"160.5\" y=\"-1145.3\" font-family=\"Times,serif\" font-size=\"14.00\">1 (KUALA)</text>\n",
       "</g>\n",
       "<!-- 26&#45;&gt;1 -->\n",
       "<g id=\"edge25\" class=\"edge\">\n",
       "<title>26&#45;&gt;1</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M324.81,-1217.8C292.04,-1204.27 246.24,-1185.38 211.31,-1170.97\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"212.35,-1167.61 201.77,-1167.03 209.68,-1174.08 212.35,-1167.61\"/>\n",
       "<text text-anchor=\"middle\" x=\"296.5\" y=\"-1188.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 9 -->\n",
       "<g id=\"node11\" class=\"node\">\n",
       "<title>9</title>\n",
       "<text text-anchor=\"middle\" x=\"366.5\" y=\"-1145.3\" font-family=\"Times,serif\" font-size=\"14.00\">9 (melihat)</text>\n",
       "</g>\n",
       "<!-- 26&#45;&gt;9 -->\n",
       "<g id=\"edge26\" class=\"edge\">\n",
       "<title>26&#45;&gt;9</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M366.5,-1217.8C366.5,-1206.16 366.5,-1190.55 366.5,-1177.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"370,-1177.18 366.5,-1167.18 363,-1177.18 370,-1177.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"390\" y=\"-1188.8\" font-family=\"Times,serif\" font-size=\"14.00\">xcomp</text>\n",
       "</g>\n",
       "<!-- 27 -->\n",
       "<g id=\"node28\" class=\"node\">\n",
       "<title>27</title>\n",
       "<text text-anchor=\"middle\" x=\"507.5\" y=\"-1145.3\" font-family=\"Times,serif\" font-size=\"14.00\">27 (&#39;pandangan)</text>\n",
       "</g>\n",
       "<!-- 26&#45;&gt;27 -->\n",
       "<g id=\"edge27\" class=\"edge\">\n",
       "<title>26&#45;&gt;27</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M395.03,-1217.8C416.73,-1204.72 446.75,-1186.62 470.32,-1172.41\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"472.25,-1175.34 479.01,-1167.18 468.64,-1169.34 472.25,-1175.34\"/>\n",
       "<text text-anchor=\"middle\" x=\"456.5\" y=\"-1188.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 2 -->\n",
       "<g id=\"node4\" class=\"node\">\n",
       "<title>2</title>\n",
       "<text text-anchor=\"middle\" x=\"55.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">2 (LUMPUR:)</text>\n",
       "</g>\n",
       "<!-- 1&#45;&gt;2 -->\n",
       "<g id=\"edge2\" class=\"edge\">\n",
       "<title>1&#45;&gt;2</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M139.25,-1130.8C123.6,-1118.13 102.11,-1100.73 84.82,-1086.74\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"86.69,-1083.75 76.72,-1080.18 82.29,-1089.19 86.69,-1083.75\"/>\n",
       "<text text-anchor=\"middle\" x=\"126.5\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 4 -->\n",
       "<g id=\"node5\" class=\"node\">\n",
       "<title>4</title>\n",
       "<text text-anchor=\"middle\" x=\"160.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">4 (hal)</text>\n",
       "</g>\n",
       "<!-- 1&#45;&gt;4 -->\n",
       "<g id=\"edge3\" class=\"edge\">\n",
       "<title>1&#45;&gt;4</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M160.5,-1130.8C160.5,-1119.16 160.5,-1103.55 160.5,-1090.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"164,-1090.18 160.5,-1080.18 157,-1090.18 164,-1090.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"180.5\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">nmod</text>\n",
       "</g>\n",
       "<!-- 3 -->\n",
       "<g id=\"node6\" class=\"node\">\n",
       "<title>3</title>\n",
       "<text text-anchor=\"middle\" x=\"54.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">3 (Dalam)</text>\n",
       "</g>\n",
       "<!-- 4&#45;&gt;3 -->\n",
       "<g id=\"edge4\" class=\"edge\">\n",
       "<title>4&#45;&gt;3</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M139.05,-1043.8C123.24,-1031.13 101.56,-1013.73 84.1,-999.74\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"85.91,-996.7 75.92,-993.18 81.53,-1002.16 85.91,-996.7\"/>\n",
       "<text text-anchor=\"middle\" x=\"130.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 5 -->\n",
       "<g id=\"node7\" class=\"node\">\n",
       "<title>5</title>\n",
       "<text text-anchor=\"middle\" x=\"160.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">5 (politik,)</text>\n",
       "</g>\n",
       "<!-- 4&#45;&gt;5 -->\n",
       "<g id=\"edge5\" class=\"edge\">\n",
       "<title>4&#45;&gt;5</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M160.5,-1043.8C160.5,-1032.16 160.5,-1016.55 160.5,-1003.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"164,-1003.18 160.5,-993.18 157,-1003.18 164,-1003.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"197.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">compound</text>\n",
       "</g>\n",
       "<!-- 6 -->\n",
       "<g id=\"node8\" class=\"node\">\n",
       "<title>6</title>\n",
       "<text text-anchor=\"middle\" x=\"264.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">6 (jarang)</text>\n",
       "</g>\n",
       "<!-- 7 -->\n",
       "<g id=\"node9\" class=\"node\">\n",
       "<title>7</title>\n",
       "<text text-anchor=\"middle\" x=\"264.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">7 (sekali)</text>\n",
       "</g>\n",
       "<!-- 6&#45;&gt;7 -->\n",
       "<g id=\"edge6\" class=\"edge\">\n",
       "<title>6&#45;&gt;7</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M264.5,-1043.8C264.5,-1032.16 264.5,-1016.55 264.5,-1003.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"268,-1003.18 264.5,-993.18 261,-1003.18 268,-1003.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"293\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">advmod</text>\n",
       "</g>\n",
       "<!-- 8 -->\n",
       "<g id=\"node10\" class=\"node\">\n",
       "<title>8</title>\n",
       "<text text-anchor=\"middle\" x=\"366.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">8 (untuk)</text>\n",
       "</g>\n",
       "<!-- 9&#45;&gt;6 -->\n",
       "<g id=\"edge7\" class=\"edge\">\n",
       "<title>9&#45;&gt;6</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M331.81,-1130.99C322.81,-1125.82 313.42,-1119.71 305.5,-1113 297.02,-1105.82 288.96,-1096.72 282.28,-1088.25\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"284.91,-1085.94 276.08,-1080.09 279.34,-1090.17 284.91,-1085.94\"/>\n",
       "<text text-anchor=\"middle\" x=\"334\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">advmod</text>\n",
       "</g>\n",
       "<!-- 9&#45;&gt;8 -->\n",
       "<g id=\"edge8\" class=\"edge\">\n",
       "<title>9&#45;&gt;8</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M366.5,-1130.8C366.5,-1119.16 366.5,-1103.55 366.5,-1090.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"370,-1090.18 366.5,-1080.18 363,-1090.18 370,-1090.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"382.5\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 11 -->\n",
       "<g id=\"node12\" class=\"node\">\n",
       "<title>11</title>\n",
       "<text text-anchor=\"middle\" x=\"471.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">11 (figura)</text>\n",
       "</g>\n",
       "<!-- 9&#45;&gt;11 -->\n",
       "<g id=\"edge9\" class=\"edge\">\n",
       "<title>9&#45;&gt;11</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M387.75,-1130.8C403.4,-1118.13 424.89,-1100.73 442.18,-1086.74\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"444.71,-1089.19 450.28,-1080.18 440.31,-1083.75 444.71,-1089.19\"/>\n",
       "<text text-anchor=\"middle\" x=\"436.5\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 10 -->\n",
       "<g id=\"node13\" class=\"node\">\n",
       "<title>10</title>\n",
       "<text text-anchor=\"middle\" x=\"361.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">10 (dua)</text>\n",
       "</g>\n",
       "<!-- 11&#45;&gt;10 -->\n",
       "<g id=\"edge10\" class=\"edge\">\n",
       "<title>11&#45;&gt;10</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M425.16,-1045.49C414.03,-1040.4 402.72,-1033.95 393.5,-1026 385.82,-1019.38 379.32,-1010.46 374.22,-1001.99\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"377.18,-1000.12 369.25,-993.1 371.07,-1003.54 377.18,-1000.12\"/>\n",
       "<text text-anchor=\"middle\" x=\"425\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">nummod</text>\n",
       "</g>\n",
       "<!-- 12 -->\n",
       "<g id=\"node14\" class=\"node\">\n",
       "<title>12</title>\n",
       "<text text-anchor=\"middle\" x=\"451.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">12 (ini)</text>\n",
       "</g>\n",
       "<!-- 11&#45;&gt;12 -->\n",
       "<g id=\"edge11\" class=\"edge\">\n",
       "<title>11&#45;&gt;12</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M467.45,-1043.8C464.71,-1032.16 461.04,-1016.55 457.91,-1003.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"461.24,-1002.11 455.54,-993.18 454.42,-1003.71 461.24,-1002.11\"/>\n",
       "<text text-anchor=\"middle\" x=\"475.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">det</text>\n",
       "</g>\n",
       "<!-- 13 -->\n",
       "<g id=\"node15\" class=\"node\">\n",
       "<title>13</title>\n",
       "<text text-anchor=\"middle\" x=\"530.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">13 (&#45;)</text>\n",
       "</g>\n",
       "<!-- 11&#45;&gt;13 -->\n",
       "<g id=\"edge12\" class=\"edge\">\n",
       "<title>11&#45;&gt;13</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M483.44,-1043.8C491.84,-1031.7 503.22,-1015.3 512.68,-1001.67\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"515.75,-1003.39 518.58,-993.18 510,-999.39 515.75,-1003.39\"/>\n",
       "<text text-anchor=\"middle\" x=\"526\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">punct</text>\n",
       "</g>\n",
       "<!-- 14 -->\n",
       "<g id=\"node16\" class=\"node\">\n",
       "<title>14</title>\n",
       "<text text-anchor=\"middle\" x=\"621.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">14 (bekas)</text>\n",
       "</g>\n",
       "<!-- 11&#45;&gt;14 -->\n",
       "<g id=\"edge13\" class=\"edge\">\n",
       "<title>11&#45;&gt;14</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M514.07,-1043.97C526.09,-1038.67 539.01,-1032.51 550.5,-1026 564.46,-1018.09 579.09,-1008.12 591.41,-999.16\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"593.57,-1001.92 599.54,-993.16 589.42,-996.28 593.57,-1001.92\"/>\n",
       "<text text-anchor=\"middle\" x=\"610.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">compound</text>\n",
       "</g>\n",
       "<!-- 15 -->\n",
       "<g id=\"node17\" class=\"node\">\n",
       "<title>15</title>\n",
       "<text text-anchor=\"middle\" x=\"621.5\" y=\"-884.3\" font-family=\"Times,serif\" font-size=\"14.00\">15 (Perdana)</text>\n",
       "</g>\n",
       "<!-- 14&#45;&gt;15 -->\n",
       "<g id=\"edge14\" class=\"edge\">\n",
       "<title>14&#45;&gt;15</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M621.5,-956.8C621.5,-945.16 621.5,-929.55 621.5,-916.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"625,-916.18 621.5,-906.18 618,-916.18 625,-916.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"633.5\" y=\"-927.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 16 -->\n",
       "<g id=\"node18\" class=\"node\">\n",
       "<title>16</title>\n",
       "<text text-anchor=\"middle\" x=\"549.5\" y=\"-797.3\" font-family=\"Times,serif\" font-size=\"14.00\">16 (Menteri,)</text>\n",
       "</g>\n",
       "<!-- 15&#45;&gt;16 -->\n",
       "<g id=\"edge15\" class=\"edge\">\n",
       "<title>15&#45;&gt;16</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M606.93,-869.8C596.49,-857.47 582.26,-840.68 570.58,-826.89\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"573.18,-824.54 564.05,-819.18 567.84,-829.07 573.18,-824.54\"/>\n",
       "<text text-anchor=\"middle\" x=\"602.5\" y=\"-840.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 22 -->\n",
       "<g id=\"node19\" class=\"node\">\n",
       "<title>22</title>\n",
       "<text text-anchor=\"middle\" x=\"661.5\" y=\"-797.3\" font-family=\"Times,serif\" font-size=\"14.00\">22 (Tun)</text>\n",
       "</g>\n",
       "<!-- 15&#45;&gt;22 -->\n",
       "<g id=\"edge16\" class=\"edge\">\n",
       "<title>15&#45;&gt;22</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M629.59,-869.8C635.18,-857.93 642.71,-841.93 649.05,-828.45\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"652.33,-829.71 653.42,-819.18 645.99,-826.73 652.33,-829.71\"/>\n",
       "<text text-anchor=\"middle\" x=\"659.5\" y=\"-840.8\" font-family=\"Times,serif\" font-size=\"14.00\">conj</text>\n",
       "</g>\n",
       "<!-- 17 -->\n",
       "<g id=\"node20\" class=\"node\">\n",
       "<title>17</title>\n",
       "<text text-anchor=\"middle\" x=\"549.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">17 (Datuk)</text>\n",
       "</g>\n",
       "<!-- 16&#45;&gt;17 -->\n",
       "<g id=\"edge17\" class=\"edge\">\n",
       "<title>16&#45;&gt;17</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M549.5,-782.8C549.5,-771.16 549.5,-755.55 549.5,-742.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"553,-742.18 549.5,-732.18 546,-742.18 553,-742.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"561.5\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 21 -->\n",
       "<g id=\"node24\" class=\"node\">\n",
       "<title>21</title>\n",
       "<text text-anchor=\"middle\" x=\"656.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">21 (dan)</text>\n",
       "</g>\n",
       "<!-- 22&#45;&gt;21 -->\n",
       "<g id=\"edge21\" class=\"edge\">\n",
       "<title>22&#45;&gt;21</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M660.49,-782.8C659.8,-771.16 658.89,-755.55 658.1,-742.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"661.59,-741.95 657.51,-732.18 654.6,-742.36 661.59,-741.95\"/>\n",
       "<text text-anchor=\"middle\" x=\"667.5\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">cc</text>\n",
       "</g>\n",
       "<!-- 23 -->\n",
       "<g id=\"node25\" class=\"node\">\n",
       "<title>23</title>\n",
       "<text text-anchor=\"middle\" x=\"746.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">23 (Dr)</text>\n",
       "</g>\n",
       "<!-- 22&#45;&gt;23 -->\n",
       "<g id=\"edge22\" class=\"edge\">\n",
       "<title>22&#45;&gt;23</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M678.7,-782.8C691.14,-770.36 708.14,-753.36 722,-739.5\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"724.73,-741.72 729.32,-732.18 719.78,-736.77 724.73,-741.72\"/>\n",
       "<text text-anchor=\"middle\" x=\"721.5\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 18 -->\n",
       "<g id=\"node21\" class=\"node\">\n",
       "<title>18</title>\n",
       "<text text-anchor=\"middle\" x=\"549.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">18 (Seri)</text>\n",
       "</g>\n",
       "<!-- 17&#45;&gt;18 -->\n",
       "<g id=\"edge18\" class=\"edge\">\n",
       "<title>17&#45;&gt;18</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M549.5,-695.8C549.5,-684.16 549.5,-668.55 549.5,-655.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"553,-655.18 549.5,-645.18 546,-655.18 553,-655.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"561.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 19 -->\n",
       "<g id=\"node22\" class=\"node\">\n",
       "<title>19</title>\n",
       "<text text-anchor=\"middle\" x=\"549.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">19 (Najib)</text>\n",
       "</g>\n",
       "<!-- 18&#45;&gt;19 -->\n",
       "<g id=\"edge19\" class=\"edge\">\n",
       "<title>18&#45;&gt;19</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M549.5,-608.8C549.5,-597.16 549.5,-581.55 549.5,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"553,-568.18 549.5,-558.18 546,-568.18 553,-568.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"561.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 20 -->\n",
       "<g id=\"node23\" class=\"node\">\n",
       "<title>20</title>\n",
       "<text text-anchor=\"middle\" x=\"549.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">20 (Razak)</text>\n",
       "</g>\n",
       "<!-- 19&#45;&gt;20 -->\n",
       "<g id=\"edge20\" class=\"edge\">\n",
       "<title>19&#45;&gt;20</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M549.5,-521.8C549.5,-510.16 549.5,-494.55 549.5,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"553,-481.18 549.5,-471.18 546,-481.18 553,-481.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"561.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 24 -->\n",
       "<g id=\"node26\" class=\"node\">\n",
       "<title>24</title>\n",
       "<text text-anchor=\"middle\" x=\"746.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">24 (Mahathir)</text>\n",
       "</g>\n",
       "<!-- 23&#45;&gt;24 -->\n",
       "<g id=\"edge23\" class=\"edge\">\n",
       "<title>23&#45;&gt;24</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M746.5,-695.8C746.5,-684.16 746.5,-668.55 746.5,-655.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"750,-655.18 746.5,-645.18 743,-655.18 750,-655.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"758.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 25 -->\n",
       "<g id=\"node27\" class=\"node\">\n",
       "<title>25</title>\n",
       "<text text-anchor=\"middle\" x=\"746.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">25 (Mohamad)</text>\n",
       "</g>\n",
       "<!-- 24&#45;&gt;25 -->\n",
       "<g id=\"edge24\" class=\"edge\">\n",
       "<title>24&#45;&gt;25</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M746.5,-608.8C746.5,-597.16 746.5,-581.55 746.5,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"750,-568.18 746.5,-558.18 743,-568.18 750,-568.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"758.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 35 -->\n",
       "<g id=\"node29\" class=\"node\">\n",
       "<title>35</title>\n",
       "<text text-anchor=\"middle\" x=\"905.5\" y=\"-1058.3\" font-family=\"Times,serif\" font-size=\"14.00\">35 (berbeza)</text>\n",
       "</g>\n",
       "<!-- 27&#45;&gt;35 -->\n",
       "<g id=\"edge28\" class=\"edge\">\n",
       "<title>27&#45;&gt;35</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M573.67,-1133.87C648.19,-1117.95 768.45,-1092.27 841.9,-1076.58\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"842.9,-1079.95 851.95,-1074.44 841.44,-1073.1 842.9,-1079.95\"/>\n",
       "<text text-anchor=\"middle\" x=\"741\" y=\"-1101.8\" font-family=\"Times,serif\" font-size=\"14.00\">acl</text>\n",
       "</g>\n",
       "<!-- 28 -->\n",
       "<g id=\"node30\" class=\"node\">\n",
       "<title>28</title>\n",
       "<text text-anchor=\"middle\" x=\"727.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">28 (yang)</text>\n",
       "</g>\n",
       "<!-- 35&#45;&gt;28 -->\n",
       "<g id=\"edge32\" class=\"edge\">\n",
       "<title>35&#45;&gt;28</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M862.43,-1043.96C849.18,-1038.48 834.64,-1032.21 821.5,-1026 803.31,-1017.4 783.6,-1007.07 766.94,-998.04\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"768.49,-994.9 758.03,-993.18 765.13,-1001.04 768.49,-994.9\"/>\n",
       "<text text-anchor=\"middle\" x=\"841.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 29 -->\n",
       "<g id=\"node31\" class=\"node\">\n",
       "<title>29</title>\n",
       "<text text-anchor=\"middle\" x=\"833.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">29 (sama&#39;)</text>\n",
       "</g>\n",
       "<!-- 35&#45;&gt;29 -->\n",
       "<g id=\"edge34\" class=\"edge\">\n",
       "<title>35&#45;&gt;29</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M890.93,-1043.8C880.49,-1031.47 866.26,-1014.68 854.58,-1000.89\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"857.18,-998.54 848.05,-993.18 851.84,-1003.07 857.18,-998.54\"/>\n",
       "<text text-anchor=\"middle\" x=\"895\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">punct</text>\n",
       "</g>\n",
       "<!-- 32 -->\n",
       "<g id=\"node34\" class=\"node\">\n",
       "<title>32</title>\n",
       "<text text-anchor=\"middle\" x=\"950.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">32 (Namun,)</text>\n",
       "</g>\n",
       "<!-- 35&#45;&gt;32 -->\n",
       "<g id=\"edge35\" class=\"edge\">\n",
       "<title>35&#45;&gt;32</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M914.61,-1043.8C920.95,-1031.82 929.53,-1015.62 936.71,-1002.06\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"939.82,-1003.65 941.41,-993.18 933.63,-1000.38 939.82,-1003.65\"/>\n",
       "<text text-anchor=\"middle\" x=\"950\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">mark</text>\n",
       "</g>\n",
       "<!-- 33 -->\n",
       "<g id=\"node35\" class=\"node\">\n",
       "<title>33</title>\n",
       "<text text-anchor=\"middle\" x=\"1070.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">33 (situasi)</text>\n",
       "</g>\n",
       "<!-- 35&#45;&gt;33 -->\n",
       "<g id=\"edge33\" class=\"edge\">\n",
       "<title>35&#45;&gt;33</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M938.89,-1043.8C964.69,-1030.51 1000.58,-1012.02 1028.36,-997.71\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1030.15,-1000.72 1037.44,-993.03 1026.95,-994.5 1030.15,-1000.72\"/>\n",
       "<text text-anchor=\"middle\" x=\"1018.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 37 -->\n",
       "<g id=\"node37\" class=\"node\">\n",
       "<title>37</title>\n",
       "<text text-anchor=\"middle\" x=\"1201.5\" y=\"-971.3\" font-family=\"Times,serif\" font-size=\"14.00\">37 (melibatkan)</text>\n",
       "</g>\n",
       "<!-- 35&#45;&gt;37 -->\n",
       "<g id=\"edge36\" class=\"edge\">\n",
       "<title>35&#45;&gt;37</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M959.03,-1048.04C984.42,-1041.72 1015.11,-1033.8 1042.5,-1026 1074.88,-1016.78 1110.67,-1005.61 1140.08,-996.17\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1141.35,-999.44 1149.8,-993.04 1139.21,-992.78 1141.35,-999.44\"/>\n",
       "<text text-anchor=\"middle\" x=\"1110.5\" y=\"-1014.8\" font-family=\"Times,serif\" font-size=\"14.00\">advcl</text>\n",
       "</g>\n",
       "<!-- 31 -->\n",
       "<g id=\"node32\" class=\"node\">\n",
       "<title>31</title>\n",
       "<text text-anchor=\"middle\" x=\"833.5\" y=\"-884.3\" font-family=\"Times,serif\" font-size=\"14.00\">31 (sekapal.)</text>\n",
       "</g>\n",
       "<!-- 29&#45;&gt;31 -->\n",
       "<g id=\"edge29\" class=\"edge\">\n",
       "<title>29&#45;&gt;31</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M833.5,-956.8C833.5,-945.16 833.5,-929.55 833.5,-916.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"837,-916.18 833.5,-906.18 830,-916.18 837,-916.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"848.5\" y=\"-927.8\" font-family=\"Times,serif\" font-size=\"14.00\">conj</text>\n",
       "</g>\n",
       "<!-- 30 -->\n",
       "<g id=\"node33\" class=\"node\">\n",
       "<title>30</title>\n",
       "<text text-anchor=\"middle\" x=\"833.5\" y=\"-797.3\" font-family=\"Times,serif\" font-size=\"14.00\">30 (atau)</text>\n",
       "</g>\n",
       "<!-- 31&#45;&gt;30 -->\n",
       "<g id=\"edge30\" class=\"edge\">\n",
       "<title>31&#45;&gt;30</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M833.5,-869.8C833.5,-858.16 833.5,-842.55 833.5,-829.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"837,-829.18 833.5,-819.18 830,-829.18 837,-829.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"841.5\" y=\"-840.8\" font-family=\"Times,serif\" font-size=\"14.00\">cc</text>\n",
       "</g>\n",
       "<!-- 34 -->\n",
       "<g id=\"node36\" class=\"node\">\n",
       "<title>34</title>\n",
       "<text text-anchor=\"middle\" x=\"1070.5\" y=\"-884.3\" font-family=\"Times,serif\" font-size=\"14.00\">34 (itu)</text>\n",
       "</g>\n",
       "<!-- 33&#45;&gt;34 -->\n",
       "<g id=\"edge31\" class=\"edge\">\n",
       "<title>33&#45;&gt;34</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1070.5,-956.8C1070.5,-945.16 1070.5,-929.55 1070.5,-916.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1074,-916.18 1070.5,-906.18 1067,-916.18 1074,-916.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1082.5\" y=\"-927.8\" font-family=\"Times,serif\" font-size=\"14.00\">det</text>\n",
       "</g>\n",
       "<!-- 36 -->\n",
       "<g id=\"node38\" class=\"node\">\n",
       "<title>36</title>\n",
       "<text text-anchor=\"middle\" x=\"1187.5\" y=\"-884.3\" font-family=\"Times,serif\" font-size=\"14.00\">36 (apabila)</text>\n",
       "</g>\n",
       "<!-- 37&#45;&gt;36 -->\n",
       "<g id=\"edge37\" class=\"edge\">\n",
       "<title>37&#45;&gt;36</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1198.67,-956.8C1196.75,-945.16 1194.18,-929.55 1191.99,-916.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1195.41,-915.47 1190.33,-906.18 1188.5,-916.61 1195.41,-915.47\"/>\n",
       "<text text-anchor=\"middle\" x=\"1214\" y=\"-927.8\" font-family=\"Times,serif\" font-size=\"14.00\">mark</text>\n",
       "</g>\n",
       "<!-- 38 -->\n",
       "<g id=\"node39\" class=\"node\">\n",
       "<title>38</title>\n",
       "<text text-anchor=\"middle\" x=\"1291.5\" y=\"-884.3\" font-family=\"Times,serif\" font-size=\"14.00\">38 (isu)</text>\n",
       "</g>\n",
       "<!-- 37&#45;&gt;38 -->\n",
       "<g id=\"edge38\" class=\"edge\">\n",
       "<title>37&#45;&gt;38</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1219.71,-956.8C1233.01,-944.24 1251.21,-927.05 1265.96,-913.12\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1268.45,-915.59 1273.31,-906.18 1263.64,-910.5 1268.45,-915.59\"/>\n",
       "<text text-anchor=\"middle\" x=\"1263.5\" y=\"-927.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 39 -->\n",
       "<g id=\"node40\" class=\"node\">\n",
       "<title>39</title>\n",
       "<text text-anchor=\"middle\" x=\"1227.5\" y=\"-797.3\" font-family=\"Times,serif\" font-size=\"14.00\">39 (ketidakpatuhan)</text>\n",
       "</g>\n",
       "<!-- 38&#45;&gt;39 -->\n",
       "<g id=\"edge39\" class=\"edge\">\n",
       "<title>38&#45;&gt;39</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1273.99,-869.81C1268.76,-864.32 1263.18,-858.09 1258.5,-852 1252.71,-844.47 1247.04,-835.81 1242.16,-827.84\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1245.15,-826.02 1237.02,-819.23 1239.14,-829.61 1245.15,-826.02\"/>\n",
       "<text text-anchor=\"middle\" x=\"1295.5\" y=\"-840.8\" font-family=\"Times,serif\" font-size=\"14.00\">compound</text>\n",
       "</g>\n",
       "<!-- 41 -->\n",
       "<g id=\"node41\" class=\"node\">\n",
       "<title>41</title>\n",
       "<text text-anchor=\"middle\" x=\"1383.5\" y=\"-797.3\" font-family=\"Times,serif\" font-size=\"14.00\">41 (prosedur)</text>\n",
       "</g>\n",
       "<!-- 38&#45;&gt;41 -->\n",
       "<g id=\"edge40\" class=\"edge\">\n",
       "<title>38&#45;&gt;41</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1312.18,-869.83C1318.76,-864.24 1326.01,-857.94 1332.5,-852 1341.32,-843.93 1350.74,-834.84 1359.05,-826.64\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1361.69,-828.96 1366.32,-819.43 1356.76,-823.99 1361.69,-828.96\"/>\n",
       "<text text-anchor=\"middle\" x=\"1368.5\" y=\"-840.8\" font-family=\"Times,serif\" font-size=\"14.00\">nmod</text>\n",
       "</g>\n",
       "<!-- 40 -->\n",
       "<g id=\"node42\" class=\"node\">\n",
       "<title>40</title>\n",
       "<text text-anchor=\"middle\" x=\"1257.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">40 (terhadap)</text>\n",
       "</g>\n",
       "<!-- 41&#45;&gt;40 -->\n",
       "<g id=\"edge41\" class=\"edge\">\n",
       "<title>41&#45;&gt;40</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1358,-782.8C1338.79,-769.84 1312.26,-751.94 1291.28,-737.79\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1293.21,-734.87 1282.96,-732.18 1289.29,-740.67 1293.21,-734.87\"/>\n",
       "<text text-anchor=\"middle\" x=\"1344.5\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 42 -->\n",
       "<g id=\"node43\" class=\"node\">\n",
       "<title>42</title>\n",
       "<text text-anchor=\"middle\" x=\"1383.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">42 (operasi)</text>\n",
       "</g>\n",
       "<!-- 41&#45;&gt;42 -->\n",
       "<g id=\"edge42\" class=\"edge\">\n",
       "<title>41&#45;&gt;42</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1383.5,-782.8C1383.5,-771.16 1383.5,-755.55 1383.5,-742.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1387,-742.18 1383.5,-732.18 1380,-742.18 1387,-742.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1420.5\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">compound</text>\n",
       "</g>\n",
       "<!-- 51 -->\n",
       "<g id=\"node44\" class=\"node\">\n",
       "<title>51</title>\n",
       "<text text-anchor=\"middle\" x=\"1516.5\" y=\"-710.3\" font-family=\"Times,serif\" font-size=\"14.00\">51 (memuji)</text>\n",
       "</g>\n",
       "<!-- 41&#45;&gt;51 -->\n",
       "<g id=\"edge43\" class=\"edge\">\n",
       "<title>41&#45;&gt;51</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1428.1,-782.9C1439.37,-777.8 1451.19,-771.75 1461.5,-765 1472.63,-757.71 1483.72,-748.18 1492.99,-739.4\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1495.6,-741.75 1500.32,-732.26 1490.71,-736.73 1495.6,-741.75\"/>\n",
       "<text text-anchor=\"middle\" x=\"1492\" y=\"-753.8\" font-family=\"Times,serif\" font-size=\"14.00\">acl</text>\n",
       "</g>\n",
       "<!-- 43 -->\n",
       "<g id=\"node45\" class=\"node\">\n",
       "<title>43</title>\n",
       "<text text-anchor=\"middle\" x=\"1334.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">43 (standard)</text>\n",
       "</g>\n",
       "<!-- 42&#45;&gt;43 -->\n",
       "<g id=\"edge44\" class=\"edge\">\n",
       "<title>42&#45;&gt;43</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1373.58,-695.8C1366.68,-683.82 1357.34,-667.62 1349.52,-654.06\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1352.43,-652.09 1344.4,-645.18 1346.36,-655.59 1352.43,-652.09\"/>\n",
       "<text text-anchor=\"middle\" x=\"1374.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 46 -->\n",
       "<g id=\"node48\" class=\"node\">\n",
       "<title>46</title>\n",
       "<text text-anchor=\"middle\" x=\"1453.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">46 (yang)</text>\n",
       "</g>\n",
       "<!-- 51&#45;&gt;46 -->\n",
       "<g id=\"edge50\" class=\"edge\">\n",
       "<title>51&#45;&gt;46</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1503.75,-695.8C1494.7,-683.59 1482.4,-666.99 1472.24,-653.28\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1475,-651.13 1466.23,-645.18 1469.37,-655.29 1475,-651.13\"/>\n",
       "<text text-anchor=\"middle\" x=\"1500.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 48 -->\n",
       "<g id=\"node50\" class=\"node\">\n",
       "<title>48</title>\n",
       "<text text-anchor=\"middle\" x=\"1552.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">48 (Ahli)</text>\n",
       "</g>\n",
       "<!-- 51&#45;&gt;48 -->\n",
       "<g id=\"edge52\" class=\"edge\">\n",
       "<title>51&#45;&gt;48</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1523.79,-695.8C1528.81,-683.93 1535.59,-667.93 1541.3,-654.45\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1544.55,-655.75 1545.23,-645.18 1538.1,-653.02 1544.55,-655.75\"/>\n",
       "<text text-anchor=\"middle\" x=\"1557.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 52 -->\n",
       "<g id=\"node53\" class=\"node\">\n",
       "<title>52</title>\n",
       "<text text-anchor=\"middle\" x=\"1670.5\" y=\"-623.3\" font-family=\"Times,serif\" font-size=\"14.00\">52 (sikap)</text>\n",
       "</g>\n",
       "<!-- 51&#45;&gt;52 -->\n",
       "<g id=\"edge51\" class=\"edge\">\n",
       "<title>51&#45;&gt;52</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1548.63,-695.85C1559.13,-690.2 1570.83,-683.87 1581.5,-678 1597.99,-668.93 1616.1,-658.79 1631.67,-650.02\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1633.51,-652.99 1640.5,-645.03 1630.07,-646.9 1633.51,-652.99\"/>\n",
       "<text text-anchor=\"middle\" x=\"1619.5\" y=\"-666.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 44 -->\n",
       "<g id=\"node46\" class=\"node\">\n",
       "<title>44</title>\n",
       "<text text-anchor=\"middle\" x=\"1332.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">44 ((SOP).)</text>\n",
       "</g>\n",
       "<!-- 43&#45;&gt;44 -->\n",
       "<g id=\"edge45\" class=\"edge\">\n",
       "<title>43&#45;&gt;44</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1334.1,-608.8C1333.82,-597.16 1333.45,-581.55 1333.14,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1336.64,-568.09 1332.9,-558.18 1329.64,-568.26 1336.64,-568.09\"/>\n",
       "<text text-anchor=\"middle\" x=\"1346.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 45 -->\n",
       "<g id=\"node47\" class=\"node\">\n",
       "<title>45</title>\n",
       "<text text-anchor=\"middle\" x=\"1332.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">45 (Najib,)</text>\n",
       "</g>\n",
       "<!-- 44&#45;&gt;45 -->\n",
       "<g id=\"edge46\" class=\"edge\">\n",
       "<title>44&#45;&gt;45</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1332.5,-521.8C1332.5,-510.16 1332.5,-494.55 1332.5,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1336,-481.18 1332.5,-471.18 1329,-481.18 1336,-481.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1344.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 47 -->\n",
       "<g id=\"node49\" class=\"node\">\n",
       "<title>47</title>\n",
       "<text text-anchor=\"middle\" x=\"1438.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">47 (juga)</text>\n",
       "</g>\n",
       "<!-- 48&#45;&gt;47 -->\n",
       "<g id=\"edge47\" class=\"edge\">\n",
       "<title>48&#45;&gt;47</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1520.22,-608.91C1511,-603.56 1501.12,-597.39 1492.5,-591 1482.07,-583.28 1471.42,-573.81 1462.36,-565.2\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1464.78,-562.68 1455.17,-558.23 1459.91,-567.7 1464.78,-562.68\"/>\n",
       "<text text-anchor=\"middle\" x=\"1521\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">advmod</text>\n",
       "</g>\n",
       "<!-- 49 -->\n",
       "<g id=\"node51\" class=\"node\">\n",
       "<title>49</title>\n",
       "<text text-anchor=\"middle\" x=\"1553.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">49 (Parlimen)</text>\n",
       "</g>\n",
       "<!-- 48&#45;&gt;49 -->\n",
       "<g id=\"edge48\" class=\"edge\">\n",
       "<title>48&#45;&gt;49</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1552.7,-608.8C1552.84,-597.16 1553.02,-581.55 1553.18,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1556.68,-568.22 1553.3,-558.18 1549.68,-568.13 1556.68,-568.22\"/>\n",
       "<text text-anchor=\"middle\" x=\"1565.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 50 -->\n",
       "<g id=\"node52\" class=\"node\">\n",
       "<title>50</title>\n",
       "<text text-anchor=\"middle\" x=\"1549.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">50 (Pekan)</text>\n",
       "</g>\n",
       "<!-- 49&#45;&gt;50 -->\n",
       "<g id=\"edge49\" class=\"edge\">\n",
       "<title>49&#45;&gt;50</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1552.69,-521.8C1552.14,-510.16 1551.41,-494.55 1550.78,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1554.27,-481 1550.31,-471.18 1547.28,-481.33 1554.27,-481\"/>\n",
       "<text text-anchor=\"middle\" x=\"1564.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 53 -->\n",
       "<g id=\"node54\" class=\"node\">\n",
       "<title>53</title>\n",
       "<text text-anchor=\"middle\" x=\"1670.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">53 (Ahli)</text>\n",
       "</g>\n",
       "<!-- 52&#45;&gt;53 -->\n",
       "<g id=\"edge53\" class=\"edge\">\n",
       "<title>52&#45;&gt;53</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1670.5,-608.8C1670.5,-597.16 1670.5,-581.55 1670.5,-568.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1674,-568.18 1670.5,-558.18 1667,-568.18 1674,-568.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1682.5\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 58 -->\n",
       "<g id=\"node55\" class=\"node\">\n",
       "<title>58</title>\n",
       "<text text-anchor=\"middle\" x=\"1787.5\" y=\"-536.3\" font-family=\"Times,serif\" font-size=\"14.00\">58 (mengaku)</text>\n",
       "</g>\n",
       "<!-- 52&#45;&gt;58 -->\n",
       "<g id=\"edge54\" class=\"edge\">\n",
       "<title>52&#45;&gt;58</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1694.18,-608.8C1711.86,-595.95 1736.22,-578.26 1755.61,-564.17\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1757.83,-566.88 1763.86,-558.18 1753.71,-561.22 1757.83,-566.88\"/>\n",
       "<text text-anchor=\"middle\" x=\"1747\" y=\"-579.8\" font-family=\"Times,serif\" font-size=\"14.00\">acl</text>\n",
       "</g>\n",
       "<!-- 54 -->\n",
       "<g id=\"node56\" class=\"node\">\n",
       "<title>54</title>\n",
       "<text text-anchor=\"middle\" x=\"1670.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">54 (Parlimen)</text>\n",
       "</g>\n",
       "<!-- 53&#45;&gt;54 -->\n",
       "<g id=\"edge55\" class=\"edge\">\n",
       "<title>53&#45;&gt;54</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1670.5,-521.8C1670.5,-510.16 1670.5,-494.55 1670.5,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1674,-481.18 1670.5,-471.18 1667,-481.18 1674,-481.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1682.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 57 -->\n",
       "<g id=\"node59\" class=\"node\">\n",
       "<title>57</title>\n",
       "<text text-anchor=\"middle\" x=\"1787.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">57 (yang)</text>\n",
       "</g>\n",
       "<!-- 58&#45;&gt;57 -->\n",
       "<g id=\"edge58\" class=\"edge\">\n",
       "<title>58&#45;&gt;57</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1787.5,-521.8C1787.5,-510.16 1787.5,-494.55 1787.5,-481.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1791,-481.18 1787.5,-471.18 1784,-481.18 1791,-481.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1807.5\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">nsubj</text>\n",
       "</g>\n",
       "<!-- 59 -->\n",
       "<g id=\"node60\" class=\"node\">\n",
       "<title>59</title>\n",
       "<text text-anchor=\"middle\" x=\"1902.5\" y=\"-449.3\" font-family=\"Times,serif\" font-size=\"14.00\">59 (bersalah)</text>\n",
       "</g>\n",
       "<!-- 58&#45;&gt;59 -->\n",
       "<g id=\"edge59\" class=\"edge\">\n",
       "<title>58&#45;&gt;59</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1810.77,-521.8C1828.15,-508.95 1852.09,-491.26 1871.16,-477.17\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1873.3,-479.93 1879.26,-471.18 1869.14,-474.3 1873.3,-479.93\"/>\n",
       "<text text-anchor=\"middle\" x=\"1876\" y=\"-492.8\" font-family=\"Times,serif\" font-size=\"14.00\">xcomp</text>\n",
       "</g>\n",
       "<!-- 55 -->\n",
       "<g id=\"node57\" class=\"node\">\n",
       "<title>55</title>\n",
       "<text text-anchor=\"middle\" x=\"1670.5\" y=\"-362.3\" font-family=\"Times,serif\" font-size=\"14.00\">55 (Langkawi)</text>\n",
       "</g>\n",
       "<!-- 54&#45;&gt;55 -->\n",
       "<g id=\"edge56\" class=\"edge\">\n",
       "<title>54&#45;&gt;55</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1670.5,-434.8C1670.5,-423.16 1670.5,-407.55 1670.5,-394.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1674,-394.18 1670.5,-384.18 1667,-394.18 1674,-394.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1682.5\" y=\"-405.8\" font-family=\"Times,serif\" font-size=\"14.00\">flat</text>\n",
       "</g>\n",
       "<!-- 56 -->\n",
       "<g id=\"node58\" class=\"node\">\n",
       "<title>56</title>\n",
       "<text text-anchor=\"middle\" x=\"1670.5\" y=\"-275.3\" font-family=\"Times,serif\" font-size=\"14.00\">56 (itu)</text>\n",
       "</g>\n",
       "<!-- 55&#45;&gt;56 -->\n",
       "<g id=\"edge57\" class=\"edge\">\n",
       "<title>55&#45;&gt;56</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1670.5,-347.8C1670.5,-336.16 1670.5,-320.55 1670.5,-307.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1674,-307.18 1670.5,-297.18 1667,-307.18 1674,-307.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1682.5\" y=\"-318.8\" font-family=\"Times,serif\" font-size=\"14.00\">det</text>\n",
       "</g>\n",
       "<!-- 61 -->\n",
       "<g id=\"node61\" class=\"node\">\n",
       "<title>61</title>\n",
       "<text text-anchor=\"middle\" x=\"1902.5\" y=\"-362.3\" font-family=\"Times,serif\" font-size=\"14.00\">61 (melanggar)</text>\n",
       "</g>\n",
       "<!-- 59&#45;&gt;61 -->\n",
       "<g id=\"edge60\" class=\"edge\">\n",
       "<title>59&#45;&gt;61</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1902.5,-434.8C1902.5,-423.16 1902.5,-407.55 1902.5,-394.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1906,-394.18 1902.5,-384.18 1899,-394.18 1906,-394.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1926\" y=\"-405.8\" font-family=\"Times,serif\" font-size=\"14.00\">xcomp</text>\n",
       "</g>\n",
       "<!-- 60 -->\n",
       "<g id=\"node62\" class=\"node\">\n",
       "<title>60</title>\n",
       "<text text-anchor=\"middle\" x=\"1792.5\" y=\"-275.3\" font-family=\"Times,serif\" font-size=\"14.00\">60 (selepas)</text>\n",
       "</g>\n",
       "<!-- 61&#45;&gt;60 -->\n",
       "<g id=\"edge61\" class=\"edge\">\n",
       "<title>61&#45;&gt;60</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1880.24,-347.8C1863.69,-335.01 1840.92,-317.42 1822.73,-303.36\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1824.78,-300.52 1814.73,-297.18 1820.5,-306.06 1824.78,-300.52\"/>\n",
       "<text text-anchor=\"middle\" x=\"1866.5\" y=\"-318.8\" font-family=\"Times,serif\" font-size=\"14.00\">det</text>\n",
       "</g>\n",
       "<!-- 62 -->\n",
       "<g id=\"node63\" class=\"node\">\n",
       "<title>62</title>\n",
       "<text text-anchor=\"middle\" x=\"1902.5\" y=\"-275.3\" font-family=\"Times,serif\" font-size=\"14.00\">62 (SOP)</text>\n",
       "</g>\n",
       "<!-- 61&#45;&gt;62 -->\n",
       "<g id=\"edge62\" class=\"edge\">\n",
       "<title>61&#45;&gt;62</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1902.5,-347.8C1902.5,-336.16 1902.5,-320.55 1902.5,-307.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1906,-307.18 1902.5,-297.18 1899,-307.18 1906,-307.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"1913.5\" y=\"-318.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 65 -->\n",
       "<g id=\"node64\" class=\"node\">\n",
       "<title>65</title>\n",
       "<text text-anchor=\"middle\" x=\"2025.5\" y=\"-275.3\" font-family=\"Times,serif\" font-size=\"14.00\">65 (mengambil)</text>\n",
       "</g>\n",
       "<!-- 61&#45;&gt;65 -->\n",
       "<g id=\"edge63\" class=\"edge\">\n",
       "<title>61&#45;&gt;65</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1927.39,-347.8C1946.06,-334.9 1971.81,-317.1 1992.25,-302.98\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1994.41,-305.74 2000.65,-297.18 1990.43,-299.98 1994.41,-305.74\"/>\n",
       "<text text-anchor=\"middle\" x=\"1990.5\" y=\"-318.8\" font-family=\"Times,serif\" font-size=\"14.00\">advcl</text>\n",
       "</g>\n",
       "<!-- 63 -->\n",
       "<g id=\"node65\" class=\"node\">\n",
       "<title>63</title>\n",
       "<text text-anchor=\"middle\" x=\"1870.5\" y=\"-188.3\" font-family=\"Times,serif\" font-size=\"14.00\">63 (kerana)</text>\n",
       "</g>\n",
       "<!-- 65&#45;&gt;63 -->\n",
       "<g id=\"edge64\" class=\"edge\">\n",
       "<title>65&#45;&gt;63</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M1983.47,-260.91C1971.34,-255.57 1958.22,-249.39 1946.5,-243 1931.6,-234.87 1915.82,-224.76 1902.52,-215.76\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1904.4,-212.8 1894.17,-210.03 1900.44,-218.57 1904.4,-212.8\"/>\n",
       "<text text-anchor=\"middle\" x=\"1965\" y=\"-231.8\" font-family=\"Times,serif\" font-size=\"14.00\">mark</text>\n",
       "</g>\n",
       "<!-- 64 -->\n",
       "<g id=\"node66\" class=\"node\">\n",
       "<title>64</title>\n",
       "<text text-anchor=\"middle\" x=\"1980.5\" y=\"-188.3\" font-family=\"Times,serif\" font-size=\"14.00\">64 (tidak)</text>\n",
       "</g>\n",
       "<!-- 65&#45;&gt;64 -->\n",
       "<g id=\"edge65\" class=\"edge\">\n",
       "<title>65&#45;&gt;64</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2006.03,-260.92C2000.99,-255.62 1996,-249.46 1992.5,-243 1988.76,-236.09 1986.18,-228.02 1984.39,-220.41\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"1987.8,-219.59 1982.42,-210.46 1980.93,-220.95 1987.8,-219.59\"/>\n",
       "<text text-anchor=\"middle\" x=\"2021\" y=\"-231.8\" font-family=\"Times,serif\" font-size=\"14.00\">advmod</text>\n",
       "</g>\n",
       "<!-- 66 -->\n",
       "<g id=\"node67\" class=\"node\">\n",
       "<title>66</title>\n",
       "<text text-anchor=\"middle\" x=\"2083.5\" y=\"-188.3\" font-family=\"Times,serif\" font-size=\"14.00\">66 (suhu)</text>\n",
       "</g>\n",
       "<!-- 65&#45;&gt;66 -->\n",
       "<g id=\"edge66\" class=\"edge\">\n",
       "<title>65&#45;&gt;66</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2037.23,-260.92C2041.14,-255.22 2045.51,-248.84 2049.5,-243 2054.92,-235.06 2060.81,-226.41 2066.14,-218.57\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2069.15,-220.37 2071.87,-210.14 2063.36,-216.44 2069.15,-220.37\"/>\n",
       "<text text-anchor=\"middle\" x=\"2070.5\" y=\"-231.8\" font-family=\"Times,serif\" font-size=\"14.00\">obj</text>\n",
       "</g>\n",
       "<!-- 69 -->\n",
       "<g id=\"node68\" class=\"node\">\n",
       "<title>69</title>\n",
       "<text text-anchor=\"middle\" x=\"2247.5\" y=\"-188.3\" font-family=\"Times,serif\" font-size=\"14.00\">69 (masuk)</text>\n",
       "</g>\n",
       "<!-- 65&#45;&gt;69 -->\n",
       "<g id=\"edge67\" class=\"edge\">\n",
       "<title>65&#45;&gt;69</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2070.16,-260.9C2105.76,-247.27 2155.74,-228.13 2193.57,-213.65\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2194.83,-216.92 2202.91,-210.07 2192.32,-210.38 2194.83,-216.92\"/>\n",
       "<text text-anchor=\"middle\" x=\"2169.5\" y=\"-231.8\" font-family=\"Times,serif\" font-size=\"14.00\">advcl</text>\n",
       "</g>\n",
       "<!-- 67 -->\n",
       "<g id=\"node69\" class=\"node\">\n",
       "<title>67</title>\n",
       "<text text-anchor=\"middle\" x=\"2026.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">67 (badan)</text>\n",
       "</g>\n",
       "<!-- 66&#45;&gt;67 -->\n",
       "<g id=\"edge68\" class=\"edge\">\n",
       "<title>66&#45;&gt;67</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2058.05,-173.84C2051.93,-168.71 2045.89,-162.65 2041.5,-156 2036.98,-149.16 2033.79,-140.92 2031.54,-133.12\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2034.9,-132.14 2029.11,-123.27 2028.11,-133.82 2034.9,-132.14\"/>\n",
       "<text text-anchor=\"middle\" x=\"2078.5\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">compound</text>\n",
       "</g>\n",
       "<!-- 68 -->\n",
       "<g id=\"node70\" class=\"node\">\n",
       "<title>68</title>\n",
       "<text text-anchor=\"middle\" x=\"2137.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">68 (ketika)</text>\n",
       "</g>\n",
       "<!-- 69&#45;&gt;68 -->\n",
       "<g id=\"edge69\" class=\"edge\">\n",
       "<title>69&#45;&gt;68</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2225.24,-173.8C2208.69,-161.01 2185.92,-143.42 2167.73,-129.36\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2169.78,-126.52 2159.73,-123.18 2165.5,-132.06 2169.78,-126.52\"/>\n",
       "<text text-anchor=\"middle\" x=\"2218\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">mark</text>\n",
       "</g>\n",
       "<!-- 72 -->\n",
       "<g id=\"node71\" class=\"node\">\n",
       "<title>72</title>\n",
       "<text text-anchor=\"middle\" x=\"2247.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">72 (surau)</text>\n",
       "</g>\n",
       "<!-- 69&#45;&gt;72 -->\n",
       "<g id=\"edge70\" class=\"edge\">\n",
       "<title>69&#45;&gt;72</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2247.5,-173.8C2247.5,-162.16 2247.5,-146.55 2247.5,-133.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2251,-133.18 2247.5,-123.18 2244,-133.18 2251,-133.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"2258.5\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">obl</text>\n",
       "</g>\n",
       "<!-- 74 -->\n",
       "<g id=\"node72\" class=\"node\">\n",
       "<title>74</title>\n",
       "<text text-anchor=\"middle\" x=\"2369.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">74 (Langkawi)</text>\n",
       "</g>\n",
       "<!-- 69&#45;&gt;74 -->\n",
       "<g id=\"edge71\" class=\"edge\">\n",
       "<title>69&#45;&gt;74</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2272.19,-173.8C2290.71,-160.9 2316.25,-143.1 2336.52,-128.98\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2338.64,-131.76 2344.85,-123.18 2334.64,-126.02 2338.64,-131.76\"/>\n",
       "<text text-anchor=\"middle\" x=\"2327.5\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">obl</text>\n",
       "</g>\n",
       "<!-- 76 -->\n",
       "<g id=\"node73\" class=\"node\">\n",
       "<title>76</title>\n",
       "<text text-anchor=\"middle\" x=\"2492.5\" y=\"-101.3\" font-family=\"Times,serif\" font-size=\"14.00\">76 (Sabtu)</text>\n",
       "</g>\n",
       "<!-- 69&#45;&gt;76 -->\n",
       "<g id=\"edge72\" class=\"edge\">\n",
       "<title>69&#45;&gt;76</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2295.61,-174.31C2336.08,-160.27 2393.97,-140.18 2436.51,-125.42\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2437.86,-128.66 2446.16,-122.08 2435.56,-122.05 2437.86,-128.66\"/>\n",
       "<text text-anchor=\"middle\" x=\"2396.5\" y=\"-144.8\" font-family=\"Times,serif\" font-size=\"14.00\">obl</text>\n",
       "</g>\n",
       "<!-- 70 -->\n",
       "<g id=\"node74\" class=\"node\">\n",
       "<title>70</title>\n",
       "<text text-anchor=\"middle\" x=\"2156.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">70 (ke)</text>\n",
       "</g>\n",
       "<!-- 72&#45;&gt;70 -->\n",
       "<g id=\"edge73\" class=\"edge\">\n",
       "<title>72&#45;&gt;70</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2229.08,-86.8C2215.64,-74.24 2197.24,-57.05 2182.32,-43.12\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2184.58,-40.44 2174.89,-36.18 2179.81,-45.56 2184.58,-40.44\"/>\n",
       "<text text-anchor=\"middle\" x=\"2223.5\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 71 -->\n",
       "<g id=\"node75\" class=\"node\">\n",
       "<title>71</title>\n",
       "<text text-anchor=\"middle\" x=\"2258.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">71 (sebuah)</text>\n",
       "</g>\n",
       "<!-- 72&#45;&gt;71 -->\n",
       "<g id=\"edge74\" class=\"edge\">\n",
       "<title>72&#45;&gt;71</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2249.73,-86.8C2251.23,-75.16 2253.25,-59.55 2254.98,-46.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2258.46,-46.54 2256.28,-36.18 2251.52,-45.64 2258.46,-46.54\"/>\n",
       "<text text-anchor=\"middle\" x=\"2266.5\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">det</text>\n",
       "</g>\n",
       "<!-- 73 -->\n",
       "<g id=\"node76\" class=\"node\">\n",
       "<title>73</title>\n",
       "<text text-anchor=\"middle\" x=\"2369.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">73 (di)</text>\n",
       "</g>\n",
       "<!-- 74&#45;&gt;73 -->\n",
       "<g id=\"edge75\" class=\"edge\">\n",
       "<title>74&#45;&gt;73</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2369.5,-86.8C2369.5,-75.16 2369.5,-59.55 2369.5,-46.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2373,-46.18 2369.5,-36.18 2366,-46.18 2373,-46.18\"/>\n",
       "<text text-anchor=\"middle\" x=\"2385.5\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 75 -->\n",
       "<g id=\"node77\" class=\"node\">\n",
       "<title>75</title>\n",
       "<text text-anchor=\"middle\" x=\"2476.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">75 (pada)</text>\n",
       "</g>\n",
       "<!-- 76&#45;&gt;75 -->\n",
       "<g id=\"edge76\" class=\"edge\">\n",
       "<title>76&#45;&gt;75</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2489.26,-86.8C2487.07,-75.16 2484.13,-59.55 2481.63,-46.24\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2485.02,-45.36 2479.73,-36.18 2478.14,-46.65 2485.02,-45.36\"/>\n",
       "<text text-anchor=\"middle\" x=\"2501.5\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">case</text>\n",
       "</g>\n",
       "<!-- 77 -->\n",
       "<g id=\"node78\" class=\"node\">\n",
       "<title>77</title>\n",
       "<text text-anchor=\"middle\" x=\"2576.5\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">77 (lalu.)</text>\n",
       "</g>\n",
       "<!-- 76&#45;&gt;77 -->\n",
       "<g id=\"edge77\" class=\"edge\">\n",
       "<title>76&#45;&gt;77</title>\n",
       "<path fill=\"none\" stroke=\"black\" d=\"M2509.5,-86.8C2521.8,-74.36 2538.59,-57.36 2552.28,-43.5\"/>\n",
       "<polygon fill=\"black\" stroke=\"black\" points=\"2554.99,-45.75 2559.53,-36.18 2550.01,-40.83 2554.99,-45.75\"/>\n",
       "<text text-anchor=\"middle\" x=\"2560\" y=\"-57.8\" font-family=\"Times,serif\" font-size=\"14.00\">punct</text>\n",
       "</g>\n",
       "</g>\n",
       "</svg>\n"
      ],
      "text/plain": [
       "<graphviz.files.Source at 0x7f3680991a60>"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "graph.to_graphvis()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### Get nodes"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "defaultdict(<function malaya.function.parse_dependency.DependencyGraph.__init__.<locals>.<lambda>()>,\n",
       "            {0: {'address': 0,\n",
       "              'word': None,\n",
       "              'lemma': None,\n",
       "              'ctag': 'TOP',\n",
       "              'tag': 'TOP',\n",
       "              'feats': None,\n",
       "              'head': None,\n",
       "              'deps': defaultdict(list, {'root': [26]}),\n",
       "              'rel': None},\n",
       "             1: {'address': 1,\n",
       "              'word': 'KUALA',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 26,\n",
       "              'deps': defaultdict(list, {'flat': [2], 'nmod': [4]}),\n",
       "              'rel': 'nsubj'},\n",
       "             26: {'address': 26,\n",
       "              'word': 'mempunyai',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 0,\n",
       "              'deps': defaultdict(list,\n",
       "                          {'nsubj': [1], 'xcomp': [9], 'obj': [27]}),\n",
       "              'rel': 'root'},\n",
       "             2: {'address': 2,\n",
       "              'word': 'LUMPUR:',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 1,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'flat'},\n",
       "             3: {'address': 3,\n",
       "              'word': 'Dalam',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 4,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'case'},\n",
       "             4: {'address': 4,\n",
       "              'word': 'hal',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 1,\n",
       "              'deps': defaultdict(list, {'case': [3], 'compound': [5]}),\n",
       "              'rel': 'nmod'},\n",
       "             5: {'address': 5,\n",
       "              'word': 'politik,',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 4,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'compound'},\n",
       "             6: {'address': 6,\n",
       "              'word': 'jarang',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 9,\n",
       "              'deps': defaultdict(list, {'advmod': [7]}),\n",
       "              'rel': 'advmod'},\n",
       "             9: {'address': 9,\n",
       "              'word': 'melihat',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 26,\n",
       "              'deps': defaultdict(list,\n",
       "                          {'advmod': [6], 'case': [8], 'obj': [11]}),\n",
       "              'rel': 'xcomp'},\n",
       "             7: {'address': 7,\n",
       "              'word': 'sekali',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 6,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'advmod'},\n",
       "             8: {'address': 8,\n",
       "              'word': 'untuk',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 9,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'case'},\n",
       "             10: {'address': 10,\n",
       "              'word': 'dua',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 11,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'nummod'},\n",
       "             11: {'address': 11,\n",
       "              'word': 'figura',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 9,\n",
       "              'deps': defaultdict(list,\n",
       "                          {'nummod': [10],\n",
       "                           'det': [12],\n",
       "                           'punct': [13],\n",
       "                           'compound': [14]}),\n",
       "              'rel': 'obj'},\n",
       "             12: {'address': 12,\n",
       "              'word': 'ini',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 11,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'det'},\n",
       "             13: {'address': 13,\n",
       "              'word': '-',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 11,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'punct'},\n",
       "             14: {'address': 14,\n",
       "              'word': 'bekas',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 11,\n",
       "              'deps': defaultdict(list, {'flat': [15]}),\n",
       "              'rel': 'compound'},\n",
       "             15: {'address': 15,\n",
       "              'word': 'Perdana',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 14,\n",
       "              'deps': defaultdict(list, {'flat': [16], 'conj': [22]}),\n",
       "              'rel': 'flat'},\n",
       "             16: {'address': 16,\n",
       "              'word': 'Menteri,',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 15,\n",
       "              'deps': defaultdict(list, {'flat': [17]}),\n",
       "              'rel': 'flat'},\n",
       "             17: {'address': 17,\n",
       "              'word': 'Datuk',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 16,\n",
       "              'deps': defaultdict(list, {'flat': [18]}),\n",
       "              'rel': 'flat'},\n",
       "             18: {'address': 18,\n",
       "              'word': 'Seri',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 17,\n",
       "              'deps': defaultdict(list, {'flat': [19]}),\n",
       "              'rel': 'flat'},\n",
       "             19: {'address': 19,\n",
       "              'word': 'Najib',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 18,\n",
       "              'deps': defaultdict(list, {'flat': [20]}),\n",
       "              'rel': 'flat'},\n",
       "             20: {'address': 20,\n",
       "              'word': 'Razak',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 19,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'flat'},\n",
       "             21: {'address': 21,\n",
       "              'word': 'dan',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 22,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'cc'},\n",
       "             22: {'address': 22,\n",
       "              'word': 'Tun',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 15,\n",
       "              'deps': defaultdict(list, {'cc': [21], 'flat': [23]}),\n",
       "              'rel': 'conj'},\n",
       "             23: {'address': 23,\n",
       "              'word': 'Dr',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 22,\n",
       "              'deps': defaultdict(list, {'flat': [24]}),\n",
       "              'rel': 'flat'},\n",
       "             24: {'address': 24,\n",
       "              'word': 'Mahathir',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 23,\n",
       "              'deps': defaultdict(list, {'flat': [25]}),\n",
       "              'rel': 'flat'},\n",
       "             25: {'address': 25,\n",
       "              'word': 'Mohamad',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 24,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'flat'},\n",
       "             27: {'address': 27,\n",
       "              'word': \"'pandangan\",\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 26,\n",
       "              'deps': defaultdict(list, {'acl': [35]}),\n",
       "              'rel': 'obj'},\n",
       "             28: {'address': 28,\n",
       "              'word': 'yang',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 35,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'nsubj'},\n",
       "             35: {'address': 35,\n",
       "              'word': 'berbeza',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 27,\n",
       "              'deps': defaultdict(list,\n",
       "                          {'nsubj': [28, 33],\n",
       "                           'punct': [29],\n",
       "                           'mark': [32],\n",
       "                           'advcl': [37]}),\n",
       "              'rel': 'acl'},\n",
       "             29: {'address': 29,\n",
       "              'word': \"sama'\",\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 35,\n",
       "              'deps': defaultdict(list, {'conj': [31]}),\n",
       "              'rel': 'punct'},\n",
       "             30: {'address': 30,\n",
       "              'word': 'atau',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 31,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'cc'},\n",
       "             31: {'address': 31,\n",
       "              'word': 'sekapal.',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 29,\n",
       "              'deps': defaultdict(list, {'cc': [30]}),\n",
       "              'rel': 'conj'},\n",
       "             32: {'address': 32,\n",
       "              'word': 'Namun,',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 35,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'mark'},\n",
       "             33: {'address': 33,\n",
       "              'word': 'situasi',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 35,\n",
       "              'deps': defaultdict(list, {'det': [34]}),\n",
       "              'rel': 'nsubj'},\n",
       "             34: {'address': 34,\n",
       "              'word': 'itu',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 33,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'det'},\n",
       "             36: {'address': 36,\n",
       "              'word': 'apabila',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 37,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'mark'},\n",
       "             37: {'address': 37,\n",
       "              'word': 'melibatkan',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 35,\n",
       "              'deps': defaultdict(list, {'mark': [36], 'obj': [38]}),\n",
       "              'rel': 'advcl'},\n",
       "             38: {'address': 38,\n",
       "              'word': 'isu',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 37,\n",
       "              'deps': defaultdict(list, {'compound': [39], 'nmod': [41]}),\n",
       "              'rel': 'obj'},\n",
       "             39: {'address': 39,\n",
       "              'word': 'ketidakpatuhan',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 38,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'compound'},\n",
       "             40: {'address': 40,\n",
       "              'word': 'terhadap',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 41,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'case'},\n",
       "             41: {'address': 41,\n",
       "              'word': 'prosedur',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 38,\n",
       "              'deps': defaultdict(list,\n",
       "                          {'case': [40], 'compound': [42], 'acl': [51]}),\n",
       "              'rel': 'nmod'},\n",
       "             42: {'address': 42,\n",
       "              'word': 'operasi',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 41,\n",
       "              'deps': defaultdict(list, {'flat': [43]}),\n",
       "              'rel': 'compound'},\n",
       "             43: {'address': 43,\n",
       "              'word': 'standard',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 42,\n",
       "              'deps': defaultdict(list, {'flat': [44]}),\n",
       "              'rel': 'flat'},\n",
       "             44: {'address': 44,\n",
       "              'word': '(SOP).',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 43,\n",
       "              'deps': defaultdict(list, {'flat': [45]}),\n",
       "              'rel': 'flat'},\n",
       "             45: {'address': 45,\n",
       "              'word': 'Najib,',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 44,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'flat'},\n",
       "             46: {'address': 46,\n",
       "              'word': 'yang',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 51,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'obj'},\n",
       "             51: {'address': 51,\n",
       "              'word': 'memuji',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 41,\n",
       "              'deps': defaultdict(list, {'obj': [46, 52], 'nsubj': [48]}),\n",
       "              'rel': 'acl'},\n",
       "             47: {'address': 47,\n",
       "              'word': 'juga',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 48,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'advmod'},\n",
       "             48: {'address': 48,\n",
       "              'word': 'Ahli',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 51,\n",
       "              'deps': defaultdict(list, {'advmod': [47], 'flat': [49]}),\n",
       "              'rel': 'nsubj'},\n",
       "             49: {'address': 49,\n",
       "              'word': 'Parlimen',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 48,\n",
       "              'deps': defaultdict(list, {'flat': [50]}),\n",
       "              'rel': 'flat'},\n",
       "             50: {'address': 50,\n",
       "              'word': 'Pekan',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 49,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'flat'},\n",
       "             52: {'address': 52,\n",
       "              'word': 'sikap',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 51,\n",
       "              'deps': defaultdict(list, {'flat': [53], 'acl': [58]}),\n",
       "              'rel': 'obj'},\n",
       "             53: {'address': 53,\n",
       "              'word': 'Ahli',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 52,\n",
       "              'deps': defaultdict(list, {'flat': [54]}),\n",
       "              'rel': 'flat'},\n",
       "             54: {'address': 54,\n",
       "              'word': 'Parlimen',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 53,\n",
       "              'deps': defaultdict(list, {'flat': [55]}),\n",
       "              'rel': 'flat'},\n",
       "             55: {'address': 55,\n",
       "              'word': 'Langkawi',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 54,\n",
       "              'deps': defaultdict(list, {'det': [56]}),\n",
       "              'rel': 'flat'},\n",
       "             56: {'address': 56,\n",
       "              'word': 'itu',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 55,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'det'},\n",
       "             57: {'address': 57,\n",
       "              'word': 'yang',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 58,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'nsubj'},\n",
       "             58: {'address': 58,\n",
       "              'word': 'mengaku',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 52,\n",
       "              'deps': defaultdict(list, {'nsubj': [57], 'xcomp': [59]}),\n",
       "              'rel': 'acl'},\n",
       "             59: {'address': 59,\n",
       "              'word': 'bersalah',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 58,\n",
       "              'deps': defaultdict(list, {'xcomp': [61]}),\n",
       "              'rel': 'xcomp'},\n",
       "             60: {'address': 60,\n",
       "              'word': 'selepas',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 61,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'det'},\n",
       "             61: {'address': 61,\n",
       "              'word': 'melanggar',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 59,\n",
       "              'deps': defaultdict(list,\n",
       "                          {'det': [60], 'obj': [62], 'advcl': [65]}),\n",
       "              'rel': 'xcomp'},\n",
       "             62: {'address': 62,\n",
       "              'word': 'SOP',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 61,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'obj'},\n",
       "             63: {'address': 63,\n",
       "              'word': 'kerana',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 65,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'mark'},\n",
       "             65: {'address': 65,\n",
       "              'word': 'mengambil',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 61,\n",
       "              'deps': defaultdict(list,\n",
       "                          {'mark': [63],\n",
       "                           'advmod': [64],\n",
       "                           'obj': [66],\n",
       "                           'advcl': [69]}),\n",
       "              'rel': 'advcl'},\n",
       "             64: {'address': 64,\n",
       "              'word': 'tidak',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 65,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'advmod'},\n",
       "             66: {'address': 66,\n",
       "              'word': 'suhu',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 65,\n",
       "              'deps': defaultdict(list, {'compound': [67]}),\n",
       "              'rel': 'obj'},\n",
       "             67: {'address': 67,\n",
       "              'word': 'badan',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 66,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'compound'},\n",
       "             68: {'address': 68,\n",
       "              'word': 'ketika',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 69,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'mark'},\n",
       "             69: {'address': 69,\n",
       "              'word': 'masuk',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 65,\n",
       "              'deps': defaultdict(list, {'mark': [68], 'obl': [72, 74, 76]}),\n",
       "              'rel': 'advcl'},\n",
       "             70: {'address': 70,\n",
       "              'word': 'ke',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 72,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'case'},\n",
       "             72: {'address': 72,\n",
       "              'word': 'surau',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 69,\n",
       "              'deps': defaultdict(list, {'case': [70], 'det': [71]}),\n",
       "              'rel': 'obl'},\n",
       "             71: {'address': 71,\n",
       "              'word': 'sebuah',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 72,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'det'},\n",
       "             73: {'address': 73,\n",
       "              'word': 'di',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 74,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'case'},\n",
       "             74: {'address': 74,\n",
       "              'word': 'Langkawi',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 69,\n",
       "              'deps': defaultdict(list, {'case': [73]}),\n",
       "              'rel': 'obl'},\n",
       "             75: {'address': 75,\n",
       "              'word': 'pada',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 76,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'case'},\n",
       "             76: {'address': 76,\n",
       "              'word': 'Sabtu',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 69,\n",
       "              'deps': defaultdict(list, {'case': [75], 'punct': [77]}),\n",
       "              'rel': 'obl'},\n",
       "             77: {'address': 77,\n",
       "              'word': 'lalu.',\n",
       "              'lemma': '_',\n",
       "              'ctag': '_',\n",
       "              'tag': '_',\n",
       "              'feats': '_',\n",
       "              'head': 76,\n",
       "              'deps': defaultdict(list, {}),\n",
       "              'rel': 'punct'}})"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "graph.nodes"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### Flat the graph"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[(('mempunyai', '_'), 'nsubj', ('KUALA', '_')),\n",
       " (('KUALA', '_'), 'flat', ('LUMPUR:', '_')),\n",
       " (('KUALA', '_'), 'nmod', ('hal', '_')),\n",
       " (('hal', '_'), 'case', ('Dalam', '_')),\n",
       " (('hal', '_'), 'compound', ('politik,', '_')),\n",
       " (('mempunyai', '_'), 'xcomp', ('melihat', '_')),\n",
       " (('melihat', '_'), 'advmod', ('jarang', '_')),\n",
       " (('jarang', '_'), 'advmod', ('sekali', '_')),\n",
       " (('melihat', '_'), 'case', ('untuk', '_')),\n",
       " (('melihat', '_'), 'obj', ('figura', '_')),\n",
       " (('figura', '_'), 'nummod', ('dua', '_')),\n",
       " (('figura', '_'), 'det', ('ini', '_')),\n",
       " (('figura', '_'), 'punct', ('-', '_')),\n",
       " (('figura', '_'), 'compound', ('bekas', '_')),\n",
       " (('bekas', '_'), 'flat', ('Perdana', '_')),\n",
       " (('Perdana', '_'), 'flat', ('Menteri,', '_')),\n",
       " (('Menteri,', '_'), 'flat', ('Datuk', '_')),\n",
       " (('Datuk', '_'), 'flat', ('Seri', '_')),\n",
       " (('Seri', '_'), 'flat', ('Najib', '_')),\n",
       " (('Najib', '_'), 'flat', ('Razak', '_')),\n",
       " (('Perdana', '_'), 'conj', ('Tun', '_')),\n",
       " (('Tun', '_'), 'cc', ('dan', '_')),\n",
       " (('Tun', '_'), 'flat', ('Dr', '_')),\n",
       " (('Dr', '_'), 'flat', ('Mahathir', '_')),\n",
       " (('Mahathir', '_'), 'flat', ('Mohamad', '_')),\n",
       " (('mempunyai', '_'), 'obj', (\"'pandangan\", '_')),\n",
       " ((\"'pandangan\", '_'), 'acl', ('berbeza', '_')),\n",
       " (('berbeza', '_'), 'nsubj', ('yang', '_')),\n",
       " (('berbeza', '_'), 'punct', (\"sama'\", '_')),\n",
       " ((\"sama'\", '_'), 'conj', ('sekapal.', '_')),\n",
       " (('sekapal.', '_'), 'cc', ('atau', '_')),\n",
       " (('berbeza', '_'), 'mark', ('Namun,', '_')),\n",
       " (('berbeza', '_'), 'nsubj', ('situasi', '_')),\n",
       " (('situasi', '_'), 'det', ('itu', '_')),\n",
       " (('berbeza', '_'), 'advcl', ('melibatkan', '_')),\n",
       " (('melibatkan', '_'), 'mark', ('apabila', '_')),\n",
       " (('melibatkan', '_'), 'obj', ('isu', '_')),\n",
       " (('isu', '_'), 'compound', ('ketidakpatuhan', '_')),\n",
       " (('isu', '_'), 'nmod', ('prosedur', '_')),\n",
       " (('prosedur', '_'), 'case', ('terhadap', '_')),\n",
       " (('prosedur', '_'), 'compound', ('operasi', '_')),\n",
       " (('operasi', '_'), 'flat', ('standard', '_')),\n",
       " (('standard', '_'), 'flat', ('(SOP).', '_')),\n",
       " (('(SOP).', '_'), 'flat', ('Najib,', '_')),\n",
       " (('prosedur', '_'), 'acl', ('memuji', '_')),\n",
       " (('memuji', '_'), 'obj', ('yang', '_')),\n",
       " (('memuji', '_'), 'nsubj', ('Ahli', '_')),\n",
       " (('Ahli', '_'), 'advmod', ('juga', '_')),\n",
       " (('Ahli', '_'), 'flat', ('Parlimen', '_')),\n",
       " (('Parlimen', '_'), 'flat', ('Pekan', '_')),\n",
       " (('memuji', '_'), 'obj', ('sikap', '_')),\n",
       " (('sikap', '_'), 'flat', ('Ahli', '_')),\n",
       " (('Ahli', '_'), 'flat', ('Parlimen', '_')),\n",
       " (('Parlimen', '_'), 'flat', ('Langkawi', '_')),\n",
       " (('Langkawi', '_'), 'det', ('itu', '_')),\n",
       " (('sikap', '_'), 'acl', ('mengaku', '_')),\n",
       " (('mengaku', '_'), 'nsubj', ('yang', '_')),\n",
       " (('mengaku', '_'), 'xcomp', ('bersalah', '_')),\n",
       " (('bersalah', '_'), 'xcomp', ('melanggar', '_')),\n",
       " (('melanggar', '_'), 'det', ('selepas', '_')),\n",
       " (('melanggar', '_'), 'obj', ('SOP', '_')),\n",
       " (('melanggar', '_'), 'advcl', ('mengambil', '_')),\n",
       " (('mengambil', '_'), 'mark', ('kerana', '_')),\n",
       " (('mengambil', '_'), 'advmod', ('tidak', '_')),\n",
       " (('mengambil', '_'), 'obj', ('suhu', '_')),\n",
       " (('suhu', '_'), 'compound', ('badan', '_')),\n",
       " (('mengambil', '_'), 'advcl', ('masuk', '_')),\n",
       " (('masuk', '_'), 'mark', ('ketika', '_')),\n",
       " (('masuk', '_'), 'obl', ('surau', '_')),\n",
       " (('surau', '_'), 'case', ('ke', '_')),\n",
       " (('surau', '_'), 'det', ('sebuah', '_')),\n",
       " (('masuk', '_'), 'obl', ('Langkawi', '_')),\n",
       " (('Langkawi', '_'), 'case', ('di', '_')),\n",
       " (('masuk', '_'), 'obl', ('Sabtu', '_')),\n",
       " (('Sabtu', '_'), 'case', ('pada', '_')),\n",
       " (('Sabtu', '_'), 'punct', ('lalu.', '_'))]"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "list(graph.triples())"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### Check the graph contains cycles"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "False"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "graph.contains_cycle()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.10"
  },
  "varInspector": {
   "cols": {
    "lenName": 16,
    "lenType": 16,
    "lenVar": 40
   },
   "kernels_config": {
    "python": {
     "delete_cmd_postfix": "",
     "delete_cmd_prefix": "del ",
     "library": "var_list.py",
     "varRefreshCmd": "print(var_dic_list())"
    },
    "r": {
     "delete_cmd_postfix": ") ",
     "delete_cmd_prefix": "rm(",
     "library": "var_list.r",
     "varRefreshCmd": "cat(var_dic_list()) "
    }
   },
   "types_to_exclude": [
    "module",
    "function",
    "builtin_function_or_method",
    "instance",
    "_Feature"
   ],
   "window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
